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
nexedi
ZODB
Commits
cd0f3ca2
Commit
cd0f3ca2
authored
May 02, 2003
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove old test of fsrecover that depended on old recover() signature.
parent
fa759fa5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
src/ZODB/tests/testFileStorage.py
src/ZODB/tests/testFileStorage.py
+0
-19
No files found.
src/ZODB/tests/testFileStorage.py
View file @
cd0f3ca2
...
@@ -170,25 +170,6 @@ class FileStorageTests(
...
@@ -170,25 +170,6 @@ class FileStorageTests(
self
.
failUnless
(
self
.
_storage
.
_records_before_save
>
20
)
self
.
failUnless
(
self
.
_storage
.
_records_before_save
>
20
)
def
checkfsrecover
(
self
):
# an absolutely minimal test of fsrecover
# Verify that calling recover on a small, correct storage
# produces a duplicate of the original.
for
i
in
range
(
5
):
oid
=
self
.
_storage
.
new_oid
()
revid
=
None
for
j
in
range
(
5
):
revid
=
self
.
_dostore
(
oid
,
revid
=
revid
)
temp
=
sys
.
stdout
sys
.
stdout
=
StringIO
.
StringIO
()
try
:
recover
([
""
,
"FileStorageTests.fs"
,
"fsrecover.fs"
])
finally
:
sys
.
stdout
=
temp
self
.
assert_
(
filecmp
.
cmp
(
"FileStorageTests.fs"
,
"fsrecover.fs"
))
StorageTestBase
.
removefs
(
"fsrecover.fs"
)
# There are a bunch of tests that the current pack() implementation
# There are a bunch of tests that the current pack() implementation
# does not past. We need to fix pack(), but don't want tests to
# does not past. We need to fix pack(), but don't want tests to
# fail until then.
# fail until then.
...
...
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