Use Django's RequestFactory instead of test-utils

RESOLVED FIXED

Status

Mozilla Developer Network
General
RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: jezdez, Unassigned)

Tracking

Details

(Whiteboard: [specification][type:bug])

(Reporter)

Description

3 years ago
What did you do?
================
-

What happened?
==============
Kuma is using the RequestFactory from test-utils despite the fact that Django's own RequestFactory has been fixed for a while.

What should have happened?
==========================
Use Django's RequestFactory.

Is there anything else we should know?
======================================

Comment 1

3 years ago
Commits pushed to master at https://github.com/mozilla/kuma

https://github.com/mozilla/kuma/commit/857400aa9d10c5cbf481000631d15ee3bf09b9c5
fix bug 1074734 - use Django's RequestFactory instead of redundant test-utils subclass

https://github.com/mozilla/kuma/commit/cd59f18454d65896736c18cc4795ee0ec9c1caf6
Merge pull request #2788 from jezdez/bug1074734

Fixed bug #1074734 and bug #1072633

Updated

3 years ago
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.