[Zodb-checkins] CVS: Zope3/src/zodb/storage/tests -
test_berkeley.py:1.3
Barry Warsaw
barry at zope.com
Tue Jun 24 18:10:39 EDT 2003
Update of /cvs-repository/Zope3/src/zodb/storage/tests
In directory cvs.zope.org:/tmp/cvs-serv31441
Modified Files:
test_berkeley.py
Log Message:
Add a bunch of tests that BDBMinimalStorage can pass, so it's running
the same tests that MinimalMemoryStorage runs.
=== Zope3/src/zodb/storage/tests/test_berkeley.py 1.2 => 1.3 ===
--- Zope3/src/zodb/storage/tests/test_berkeley.py:1.2 Thu Mar 20 18:01:41 2003
+++ Zope3/src/zodb/storage/tests/test_berkeley.py Tue Jun 24 17:10:38 2003
@@ -31,16 +31,26 @@
IteratorStorage, ExtendedIteratorStorage
from zodb.storage.tests.recovery import RecoveryStorage
from zodb.storage.tests import conflict
+from zodb.storage.tests.mt import MTStorage
-class MinimalTest(bdbmixin.MinimalTestBase, BasicStorage, SynchronizedStorage):
+class MinimalTest(bdbmixin.MinimalTestBase, BasicStorage,
+ PackableStorage, SynchronizedStorage, MTStorage):
def testVersionedStoreAndLoad(self):
# This storage doesn't support versions, so we should get an exception
oid = self._storage.newObjectId()
self.assertRaises(NotImplementedError,
self._dostore,
oid, data=11, version='a version')
+
+ # requires undo
+ def testPackUnlinkedFromRoot(self): pass
+ # XXX More tests that require loadSerial()
+ def testPackOnlyOneObject(self): pass
+ def testPackAllRevisions(self): pass
+ def testPackJustOldRevisions(self): pass
+ def testPackOnlyOneObject(self): pass
class FullTest(bdbmixin.FullTestBase, BasicStorage,
More information about the Zodb-checkins
mailing list