Opened 7 years ago

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

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by jan_oberst

Testclient to new-style class

Changed 7 years ago by jan_oberst

Fixed: Testclient to new-style class

comment:1 Changed 7 years ago by russellm

  • Resolution set to fixed
  • Status changed from new to closed

(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