Commit 508678c5 authored by Barry Warsaw's avatar Barry Warsaw

VersionStorage class made a true mixin (not a subclass).

parent 89e4ad15
# 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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment