[Zodb-checkins] CVS: StandaloneZODB/bsddb3Storage/bsddb3Storage/tests - test_storage_api.py:1.16

Jeremy Hylton jeremy@zope.com
Thu, 4 Oct 2001 18:42:40 -0400


Update of /cvs-repository/StandaloneZODB/bsddb3Storage/bsddb3Storage/tests
In directory cvs.zope.org:/tmp/cvs-serv14178/bsddb3Storage/bsddb3Storage/tests

Modified Files:
	test_storage_api.py 
Log Message:
These storages all support revisions, so mixin RevisionStorage to the tests.



=== StandaloneZODB/bsddb3Storage/bsddb3Storage/tests/test_storage_api.py 1.15 => 1.16 ===
 import BerkeleyTestBase
 from ZODB.tests.BasicStorage import BasicStorage
+from ZODB.tests.RevisionStorage import RevisionStorage
 from ZODB.tests.VersionStorage import VersionStorage
 from ZODB.tests.TransactionalUndoStorage import TransactionalUndoStorage
 from ZODB.tests.TransactionalUndoVersionStorage import \
@@ -21,7 +22,7 @@
     def checkLoadSerial(self):
         # This storage doesn't support versions, so we should get an exception
         self.assertRaises(POSException.Unsupported,
-                          BasicStorage.checkLoadSerial,
+                          RevisionStorage.checkLoadSerial,
                           self)
 
     def checkVersionedStoreAndLoad(self):