Opened 16 years ago

Closed 16 years ago

#6812 closed (fixed)

formtools test breaks other tests

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

Description

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 16 years ago.

Download all attachments as: .zip

Change History (3)

by James Zhu, 16 years ago

Attachment: tests.diff added

comment:1 by Jeff Anderson, 16 years ago

Triage Stage: UnreviewedReady for checkin

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

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

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