Re: Test fixture persistent across applications

2008-09-24 Thread Russell Keith-Magee
On Thu, Sep 25, 2008 at 2:13 AM, davenaff <[EMAIL PROTECTED]> wrote: > > As it turns out, TestCase only flushes the database before a test. It > doesn't flush it after it has finished its tests. Correct. This is because your test suite can contain standard doctests and unittests, and these tests

Re: Test fixture persistent across applications

2008-09-24 Thread davenaff
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

Test fixture persistent across applications

2008-09-24 Thread davenaff
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