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
94a2f527
Commit
94a2f527
authored
Apr 26, 2007
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed getSerial to getTid.
parent
d19e7d6f
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 @
94a2f527
...
...
@@ -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