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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZEO
Commits
a0e8b763
Commit
a0e8b763
authored
Apr 21, 2010
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Must stop abusing assert!
parent
4ed201aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/ZEO/tests/testZEO.py
src/ZEO/tests/testZEO.py
+2
-1
No files found.
src/ZEO/tests/testZEO.py
View file @
a0e8b763
...
@@ -768,7 +768,8 @@ class StorageServerWrapper:
...
@@ -768,7 +768,8 @@ class StorageServerWrapper:
self
.
server
.
tpc_begin
(
id
(
transaction
),
''
,
''
,
{},
None
,
' '
)
self
.
server
.
tpc_begin
(
id
(
transaction
),
''
,
''
,
{},
None
,
' '
)
def
tpc_vote
(
self
,
transaction
):
def
tpc_vote
(
self
,
transaction
):
assert
self
.
server
.
vote
(
id
(
transaction
))
is
None
vote_result
=
self
.
server
.
vote
(
id
(
transaction
))
assert
vote_result
is
None
result
=
self
.
server
.
client
.
serials
[:]
result
=
self
.
server
.
client
.
serials
[:]
del
self
.
server
.
client
.
serials
[:]
del
self
.
server
.
client
.
serials
[:]
return
result
return
result
...
...
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