[ZODB-Dev] Testing ZODB application

Chris Withers chrisw at nipltd.com
Thu May 22 13:28:01 EDT 2003


Antonio Beamud Montero wrote:
> But when I try to run this suite of tests, it says for the second test
> it can't open the Data.fs file when it try to init the collector
> object... 

You're not closeing the database when the first test is finished.

What you probably want to do is have a tearDown method in your testsuite which 
aborts the current transaction and closes the database...

The ZODB tests will have examples of how to do this...

cheers,

Chris




More information about the ZODB-Dev mailing list