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
6ec3b089
Commit
6ec3b089
authored
Nov 09, 2002
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Get rid of the autopack tests.
parent
e3a0632c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
15 deletions
+0
-15
lib/python/BDBStorage/tests/BerkeleyTestBase.py
lib/python/BDBStorage/tests/BerkeleyTestBase.py
+0
-5
lib/python/BDBStorage/tests/test_storage_api.py
lib/python/BDBStorage/tests/test_storage_api.py
+0
-10
No files found.
lib/python/BDBStorage/tests/BerkeleyTestBase.py
View file @
6ec3b089
...
...
@@ -63,8 +63,3 @@ class MinimalTestBase(BerkeleyTestBase):
class
FullTestBase
(
BerkeleyTestBase
):
from
bsddb3Storage
import
Full
ConcreteStorage
=
Full
.
Full
class
AutopackTestBase
(
BerkeleyTestBase
):
from
bsddb3Storage
import
Autopack
ConcreteStorage
=
Autopack
.
Autopack
lib/python/BDBStorage/tests/test_storage_api.py
View file @
6ec3b089
...
...
@@ -72,22 +72,12 @@ class FullRecoveryTest(BerkeleyTestBase.FullTestBase,
self
.
_zap_dbhome
(
DST_DBHOME
)
class
AutopackTest
(
BerkeleyTestBase
.
AutopackTestBase
,
BasicStorage
):
def
checkVersionedStoreAndLoad
(
self
):
# This storage doesn't support versions, so we should get an exception
oid
=
self
.
_storage
.
new_oid
()
self
.
assertRaises
(
POSException
.
Unsupported
,
self
.
_dostore
,
oid
,
data
=
11
,
version
=
'a version'
)
def
test_suite
():
suite
=
unittest
.
TestSuite
()
suite
.
addTest
(
unittest
.
makeSuite
(
FullTest
,
'check'
))
suite
.
addTest
(
unittest
.
makeSuite
(
FullRecoveryTest
,
'check'
))
suite
.
addTest
(
unittest
.
makeSuite
(
MinimalTest
,
'check'
))
#suite.addTest(unittest.makeSuite(AutopackTest, 'check'))
return
suite
...
...
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