[Zope3-checkins] CVS: ZODB4/src/zodb/storage/tests - test_storage_api.py:1.6.4.1

Barry Warsaw barry@wooz.org
Thu, 13 Mar 2003 11:13:23 -0500


Update of /cvs-repository/ZODB4/src/zodb/storage/tests
In directory cvs.zope.org:/tmp/cvs-serv9010

Modified Files:
      Tag: opaque-pickles-branch
	test_storage_api.py 
Log Message:
Merging in from the HEAD


=== ZODB4/src/zodb/storage/tests/test_storage_api.py 1.6 => 1.6.4.1 ===
--- ZODB4/src/zodb/storage/tests/test_storage_api.py:1.6	Wed Feb  5 18:28:27 2003
+++ ZODB4/src/zodb/storage/tests/test_storage_api.py	Thu Mar 13 11:13:22 2003
@@ -21,6 +21,7 @@
 from zodb.storage.tests import bdbmixin
 from zodb.storage.tests.basic import BasicStorage
 from zodb.storage.tests.revision import RevisionStorage
+from zodb.storage.tests.synchronization import SynchronizedStorage
 from zodb.storage.tests.version import VersionStorage
 from zodb.storage.tests.undo import TransactionalUndoStorage
 from zodb.storage.tests.undoversion import \
@@ -33,7 +34,7 @@
 
 
 
-class MinimalTest(bdbmixin.MinimalTestBase, BasicStorage):
+class MinimalTest(bdbmixin.MinimalTestBase, BasicStorage, SynchronizedStorage):
     def checkVersionedStoreAndLoad(self):
         # This storage doesn't support versions, so we should get an exception
         oid = self._storage.newObjectId()
@@ -44,6 +45,7 @@
 
 class FullTest(bdbmixin.FullTestBase, BasicStorage,
                RevisionStorage, VersionStorage,
+               SynchronizedStorage,
                TransactionalUndoStorage,
                TransactionalUndoVersionStorage,
                PackableStorage,
@@ -64,6 +66,7 @@
 
     def tearDown(self):
         bdbmixin.FullTestBase.tearDown(self)
+        self._dst.close()
         self._zap_dbhome(DST_DBHOME)
 
     def new_dest(self):