[Zodb-checkins] CVS: Zope2/lib/python/ZODB - TransactionalUndoStorage.py:1.4
barry@digicool.com
barry@digicool.com
Wed, 11 Apr 2001 18:04:53 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/ZODB/tests
In directory korak:/tmp/cvs-serv4226
Modified Files:
TransactionalUndoStorage.py
Log Message:
TransactionalUndoStorage class no longer inherits from BasicStorage
(it's a true mixin).
--- Updated File TransactionalUndoStorage.py in package Zope2/lib/python/ZODB --
--- TransactionalUndoStorage.py 2001/04/11 18:29:55 1.3
+++ TransactionalUndoStorage.py 2001/04/11 22:04:52 1.4
@@ -1,10 +1,14 @@
+# Check transactionalUndo(). Any storage that supports transactionalUndo()
+# must pass these tests.
-import BasicStorage, pickle
+import pickle
from ZODB import POSException
+
ZERO = '\0'*8
-class TransactionalUndoStorage(BasicStorage.BasicStorage):
+
+class TransactionalUndoStorage:
def checkSimpleTransactionalUndo(self):
oid = self._storage.new_oid()
revid = self._dostore(oid, data=23)