[Zodb-checkins] CVS: ZODB3/bsddb3Storage/bsddb3Storage/tests - BerkeleyTestBase.py:1.6

Barry Warsaw barry@wooz.org
Thu, 29 Aug 2002 15:51:16 -0400


Update of /cvs-repository/ZODB3/bsddb3Storage/bsddb3Storage/tests
In directory cvs.zope.org:/tmp/cvs-serv16529

Modified Files:
	BerkeleyTestBase.py 
Log Message:
tearDown(): Call base class's tearDown() at the end so we're more
likely to actually remove the test-db directory every time.


=== ZODB3/bsddb3Storage/bsddb3Storage/tests/BerkeleyTestBase.py 1.5 => 1.6 ===
--- ZODB3/bsddb3Storage/bsddb3Storage/tests/BerkeleyTestBase.py:1.5	Tue Jul 16 10:51:03 2002
+++ ZODB3/bsddb3Storage/bsddb3Storage/tests/BerkeleyTestBase.py	Thu Aug 29 15:51:15 2002
@@ -36,10 +36,10 @@
         # subsequent tests because the next transaction commit will try to
         # commit those object.  But they're tied to closed databases, so
         # that's broken.  Aborting the transaction now saves us the headache.
-        StorageTestBase.tearDown(self)
         for file in os.listdir(DBHOME):
             os.unlink(os.path.join(DBHOME, file))
         os.removedirs(DBHOME)
+        StorageTestBase.tearDown(self)