Django

Code

Ticket #6812 (closed: fixed)

Opened 9 months ago

Last modified 6 months ago

formtools test breaks other tests

Reported by: james Assigned to: nobody
Milestone: Component: django.contrib.formtools
Version: SVN Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

tests.diff (0.9 kB) - added by james on 03/17/08 22:23:07.

Change History

03/17/08 22:23:07 changed by james

  • attachment tests.diff added.

06/11/08 20:00:28 changed by programmerq

  • needs_better_patch changed.
  • stage changed from Unreviewed to Ready for checkin.
  • needs_tests changed.
  • needs_docs changed.

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

06/19/08 08:32:39 changed by russellm

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

(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


Add/Change #6812 (formtools test breaks other tests)




Change Properties
Action