Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
ZODB
Commits
e8bc412c
Commit
e8bc412c
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
c5bf9abd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
src/ZEO/tests/testZEO.py
src/ZEO/tests/testZEO.py
+2
-1
src/ZODB/tests/testFileStorage.py
src/ZODB/tests/testFileStorage.py
+2
-2
No files found.
src/ZEO/tests/testZEO.py
View file @
e8bc412c
...
...
@@ -21,7 +21,7 @@ from ZEO.smac import Disconnected
# Sorry Jim...
from
ZODB.tests
import
StorageTestBase
,
BasicStorage
,
VersionStorage
,
\
TransactionalUndoStorage
,
TransactionalUndoVersionStorage
,
\
PackableStorage
,
Synchronization
,
ConflictResolution
PackableStorage
,
Synchronization
,
ConflictResolution
,
RevisionStorage
from
ZODB.tests.MinPO
import
MinPO
from
ZODB.tests.StorageTestBase
import
zodb_unpickle
...
...
@@ -104,6 +104,7 @@ class GenericTests(ZEOTestBase,
Cache
.
TransUndoStorageWithCache
,
BasicStorage
.
BasicStorage
,
VersionStorage
.
VersionStorage
,
RevisionStorage
.
RevisionStorage
,
PackableStorage
.
PackableStorage
,
Synchronization
.
SynchronizedStorage
,
ConflictResolution
.
ConflictResolvingStorage
,
...
...
src/ZODB/tests/testFileStorage.py
View file @
e8bc412c
...
...
@@ -5,12 +5,13 @@ from ZODB.tests import StorageTestBase, BasicStorage, \
TransactionalUndoStorage
,
VersionStorage
,
\
TransactionalUndoVersionStorage
,
PackableStorage
,
\
Synchronization
,
ConflictResolution
,
HistoryStorage
,
\
IteratorStorage
,
Corruption
IteratorStorage
,
Corruption
,
RevisionStorage
class
FileStorageTests
(
StorageTestBase
.
StorageTestBase
,
BasicStorage
.
BasicStorage
,
TransactionalUndoStorage
.
TransactionalUndoStorage
,
RevisionStorage
.
RevisionStorage
,
VersionStorage
.
VersionStorage
,
TransactionalUndoVersionStorage
.
TransactionalUndoVersionStorage
,
PackableStorage
.
PackableStorage
,
...
...
@@ -36,7 +37,6 @@ def test_suite():
suite
=
unittest
.
makeSuite
(
FileStorageTests
,
'check'
)
suite2
=
unittest
.
makeSuite
(
Corruption
.
FileStorageCorruptTests
,
'check'
)
suite
.
addTest
(
suite2
)
## suite._tests.extend(suite2._tests)
return
suite
def
main
():
...
...
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