Opened 8 years ago

Closed 8 years ago

#9117 closed (fixed)

New-Style Testclient class

Reported by: jan_oberst Owned by: nobody
Component: Testing framework Version: 1.0
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

I didn't find any reason why the Client class in django/test/client.py should not be an new-style class. I tried to extend that class and failed using super().

Attachments (2)

testclient_newstyle_9117-r9056.diff (346 bytes) - added by jan_oberst 8 years ago.
Testclient to new-style class
testclient_newstyle_9117-r9056.2.diff (346 bytes) - added by jan_oberst 8 years ago.
Fixed: Testclient to new-style class

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by jan_oberst

Testclient to new-style class

Changed 8 years ago by jan_oberst

Fixed: Testclient to new-style class

comment:1 Changed 8 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

(In [9066]) Fixed #9117: Made the test client a new-style class. Thanks to Jan Oberst for the report.

Note: See TracTickets for help on using tickets.
Back to Top