Django

Code

Ticket #9117 (closed: fixed)

Opened 3 months ago

Last modified 3 months ago

New-Style Testclient class

Reported by: jan_oberst Assigned to: nobody
Milestone: Component: Testing framework
Version: 1.0 Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 1 Needs documentation:
Needs tests: Patch needs improvement:

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

testclient_newstyle_9117-r9056.diff (346 bytes) - added by jan_oberst on 09/17/08 05:04:22.
Testclient to new-style class
testclient_newstyle_9117-r9056.2.diff (346 bytes) - added by jan_oberst on 09/17/08 05:05:55.
Fixed: Testclient to new-style class

Change History

09/17/08 05:04:22 changed by jan_oberst

  • attachment testclient_newstyle_9117-r9056.diff added.

Testclient to new-style class

09/17/08 05:05:55 changed by jan_oberst

  • attachment testclient_newstyle_9117-r9056.2.diff added.

Fixed: Testclient to new-style class

09/17/08 06:32:12 changed by russellm

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #9117 (New-Style Testclient class)




Change Properties
Action