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
Joshua
zodb
Commits
ddc88866
Commit
ddc88866
authored
Apr 26, 2007
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed some tests that used the old loadEx method to use load, since
loadEx isn't a storage method.
parent
cd520c1f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/ZODB/tests/RevisionStorage.py
src/ZODB/tests/RevisionStorage.py
+3
-3
No files found.
src/ZODB/tests/RevisionStorage.py
View file @
ddc88866
...
...
@@ -52,7 +52,7 @@ class RevisionStorage:
snooze
()
snooze
()
revid
=
self
.
_dostore
(
oid
,
revid
,
data
=
MinPO
(
i
))
revs
.
append
(
self
.
_storage
.
load
Ex
(
oid
,
""
))
revs
.
append
(
self
.
_storage
.
load
(
oid
,
""
))
prev
=
u64
(
revs
[
0
][
1
])
for
i
in
range
(
1
,
10
):
...
...
@@ -123,10 +123,10 @@ class RevisionStorage:
# Always undo the most recent txn, so the value will
# alternate between 3 and 4.
self
.
_undo
(
tid
,
[
oid
],
note
=
"undo %d"
%
i
)
revs
.
append
(
self
.
_storage
.
load
Ex
(
oid
,
""
))
revs
.
append
(
self
.
_storage
.
load
(
oid
,
""
))
prev_tid
=
None
for
i
,
(
data
,
tid
,
ver
)
in
enumerate
(
revs
):
for
i
,
(
data
,
tid
)
in
enumerate
(
revs
):
t
=
self
.
_storage
.
loadBefore
(
oid
,
p64
(
u64
(
tid
)
+
1
))
self
.
assertEqual
(
data
,
t
[
0
])
self
.
assertEqual
(
tid
,
t
[
1
])
...
...
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