[Zope-Checkins] CVS: Zope2 - VersionStorage.py:1.2
barry@digicool.com
barry@digicool.com
Wed, 11 Apr 2001 18:07:53 -0400 (EDT)
Update of /cvs-repository/Zope2/lib/python/ZODB/tests
In directory korak:/tmp/cvs-serv6118
Modified Files:
VersionStorage.py
Log Message:
VersionStorage class made a true mixin (not a subclass).
--- Updated File VersionStorage.py in package Zope2/lib/python/ZODB --
--- VersionStorage.py 2001/04/10 20:45:58 1.1
+++ VersionStorage.py 2001/04/11 22:07:52 1.2
@@ -1,9 +1,12 @@
+# Run the version related tests for a storage. Any storage that supports
+# versions should be able to pass all these tests.
-import BasicStorage, pickle
+import pickle
from ZODB import POSException
-class VersionStorage(BasicStorage.BasicStorage):
+
+class VersionStorage:
def checkVersionedStoreAndLoad(self):
# Store a couple of non-version revisions of the object
oid = self._storage.new_oid()
--- Updated File VersionStorage.py in package Zope2 --
--- VersionStorage.py 2001/04/10 20:45:58 1.1
+++ VersionStorage.py 2001/04/11 22:07:52 1.2
@@ -1,9 +1,12 @@
+# Run the version related tests for a storage. Any storage that supports
+# versions should be able to pass all these tests.
-import BasicStorage, pickle
+import pickle
from ZODB import POSException
-class VersionStorage(BasicStorage.BasicStorage):
+
+class VersionStorage:
def checkVersionedStoreAndLoad(self):
# Store a couple of non-version revisions of the object
oid = self._storage.new_oid()