Opened 10 years ago

Closed 10 years ago

#6812 closed (fixed)

formtools test breaks other tests

Reported by: James Zhu Owned by: nobody
Component: contrib.formtools Version: master
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


formtools test uses it's own ROOT_URLCONF setting, but doesn't restore the old setting after the testcase got finished. As a result it effectively breaks other tests that comes after it.

Attachments (1)

tests.diff (880 bytes) - added by James Zhu 10 years ago.

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by James Zhu

Attachment: tests.diff added

comment:1 Changed 10 years ago by Jeff Anderson

Triage Stage: UnreviewedReady for checkin

I was able to verify the bug, apply the patch cleanly, and verify that it works.

comment:2 Changed 10 years ago by Russell Keith-Magee

Resolution: fixed
Status: newclosed

(In [7705]) Fixed #6812 -- Modified the formtools test case to be run order safe with respect to the ROOT_URLCONF setting. Thanks for the patch, james

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