Opened 16 years ago

Closed 16 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: no UI/UX: no

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 16 years ago.
Testclient to new-style class
testclient_newstyle_9117-r9056.2.diff (346 bytes ) - added by jan_oberst 16 years ago.
Fixed: Testclient to new-style class

Download all attachments as: .zip

Change History (3)

by jan_oberst, 16 years ago

Testclient to new-style class

by jan_oberst, 16 years ago

Fixed: Testclient to new-style class

comment:1 by Russell Keith-Magee, 16 years ago

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