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
Kirill Smelkov
ZODB
Commits
e18d876c
Commit
e18d876c
authored
Apr 02, 2004
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testExceptionInTpcAbort: reformat so I can insert debugging prints
(something's not right in this test).
parent
f732de0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/ZODB/tests/testTransaction.py
src/ZODB/tests/testTransaction.py
+3
-3
No files found.
src/ZODB/tests/testTransaction.py
View file @
e18d876c
...
...
@@ -36,7 +36,7 @@ TODO
add in tests for objects which are modified multiple times,
for example an object that gets modified in multiple sub txns.
$Id: testTransaction.py,v 1.2
0 2004/04/01 03:56:57 jeremy
Exp $
$Id: testTransaction.py,v 1.2
1 2004/04/02 19:31:32 tim_one
Exp $
"""
import
unittest
...
...
@@ -378,7 +378,6 @@ class TransactionTests(unittest.TestCase):
assert
self
.
sub1
.
_p_jar
.
ctpc_abort
==
1
def
testExceptionInTpcAbort
(
self
):
self
.
sub1
.
_p_jar
=
SubTransactionJar
(
errors
=
(
'tpc_abort'
,
'tpc_vote'
))
...
...
@@ -387,7 +386,8 @@ class TransactionTests(unittest.TestCase):
try
:
get_transaction
().
commit
()
except
TestTxnException
:
pass
except
TestTxnException
:
pass
assert
self
.
nosub1
.
_p_jar
.
ctpc_abort
==
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