Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZEO
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
ZEO
Commits
faa195cd
Commit
faa195cd
authored
Apr 26, 2007
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed getSerial to getTid.
parent
d0a0a85d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/ZODB/tests/TransactionalUndoStorage.py
src/ZODB/tests/TransactionalUndoStorage.py
+3
-3
No files found.
src/ZODB/tests/TransactionalUndoStorage.py
View file @
faa195cd
...
...
@@ -143,7 +143,7 @@ class TransactionalUndoStorage:
eq
(
zodb_unpickle
(
data
),
MinPO
(
23
))
self
.
_iterate
()
def
checkCreationUndoneGet
Serial
(
self
):
def
checkCreationUndoneGet
Tid
(
self
):
# create an object
oid
=
self
.
_storage
.
new_oid
()
self
.
_dostore
(
oid
,
data
=
MinPO
(
23
))
...
...
@@ -156,9 +156,9 @@ class TransactionalUndoStorage:
self
.
_storage
.
undo
(
tid
,
t
)
self
.
_storage
.
tpc_vote
(
t
)
self
.
_storage
.
tpc_finish
(
t
)
# Check that calling get
Serial
on an uncreated object raises a KeyError
# Check that calling get
Tid
on an uncreated object raises a KeyError
# The current version of FileStorage fails this test
self
.
assertRaises
(
KeyError
,
self
.
_storage
.
get
Serial
,
oid
)
self
.
assertRaises
(
KeyError
,
self
.
_storage
.
get
Tid
,
oid
)
def
checkUndoCreationBranch1
(
self
):
eq
=
self
.
assertEqual
...
...
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