On Wed, Jun 25, 2008 at 10:40 PM, Gary Wilson Jr. <[EMAIL PROTECTED]> wrote: > > Russell Keith-Magee wrote: >> My preferred solution here would be to provide a way for test cases to >> substitute a top level URL pattern object for the duration of the >> test. For example: > > Swapping the root URLconf works, and is currently what contrib.formtools > is doing. Is your thinking that if a ``urls`` attribute is defined, the > URLconf swapping in setup/teardown would be done for you?
Thats pretty much what I was thinking. I didn't know formtools was already doing it; that proves the concept quite nicely. Russ %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---
