Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
d94e14e8
Commit
d94e14e8
authored
Oct 04, 2001
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
These storages all support revisions, so mixin RevisionStorage to the tests.
parent
be09ce60
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
lib/python/BDBStorage/tests/test_storage_api.py
lib/python/BDBStorage/tests/test_storage_api.py
+2
-1
No files found.
lib/python/BDBStorage/tests/test_storage_api.py
View file @
d94e14e8
...
@@ -6,6 +6,7 @@ from ZODB import POSException
...
@@ -6,6 +6,7 @@ from ZODB import POSException
import
BerkeleyTestBase
import
BerkeleyTestBase
from
ZODB.tests.BasicStorage
import
BasicStorage
from
ZODB.tests.BasicStorage
import
BasicStorage
from
ZODB.tests.RevisionStorage
import
RevisionStorage
from
ZODB.tests.VersionStorage
import
VersionStorage
from
ZODB.tests.VersionStorage
import
VersionStorage
from
ZODB.tests.TransactionalUndoStorage
import
TransactionalUndoStorage
from
ZODB.tests.TransactionalUndoStorage
import
TransactionalUndoStorage
from
ZODB.tests.TransactionalUndoVersionStorage
import
\
from
ZODB.tests.TransactionalUndoVersionStorage
import
\
...
@@ -21,7 +22,7 @@ class MinimalTest(BerkeleyTestBase.MinimalTestBase, BasicStorage):
...
@@ -21,7 +22,7 @@ class MinimalTest(BerkeleyTestBase.MinimalTestBase, BasicStorage):
def
checkLoadSerial
(
self
):
def
checkLoadSerial
(
self
):
# This storage doesn't support versions, so we should get an exception
# This storage doesn't support versions, so we should get an exception
self
.
assertRaises
(
POSException
.
Unsupported
,
self
.
assertRaises
(
POSException
.
Unsupported
,
Basic
Storage
.
checkLoadSerial
,
Revision
Storage
.
checkLoadSerial
,
self
)
self
)
def
checkVersionedStoreAndLoad
(
self
):
def
checkVersionedStoreAndLoad
(
self
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment