As it turns out, TestCase only flushes the database before a test. It doesn't flush it after it has finished its tests.
On Sep 24, 10:18 am, davenaff <[EMAIL PROTECTED]> wrote: > I'm running into a bizarre bug? in the test utilities. Basically, a > fixture imported as part of a django testcase is persistent and the > data in the fixture is appearing in doctests for a separate > application. > > I have two apps: > app1 > - uses the fixture in test case > app2 > - doctest > > If I run "test app1 app2" the data from app1 is picked up in app2 > If I run "test app2 app1" everything works fine. > > I'm still trying to isolate the problem, but I wanted to see if anyone > else has run into similar problems and what the resolution was... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---