Commit d94e14e8 authored by Jeremy Hylton's avatar Jeremy Hylton

These storages all support revisions, so mixin RevisionStorage to the tests.

parent be09ce60
......@@ -6,6 +6,7 @@ from ZODB import POSException
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 @@ class MinimalTest(BerkeleyTestBase.MinimalTestBase, BasicStorage):
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):
......
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