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
5666ef26
Commit
5666ef26
authored
Oct 05, 2003
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a test for Transaction.note.
parent
fc02741a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
trunk/src/ZODB/tests/testTransaction.py
trunk/src/ZODB/tests/testTransaction.py
+12
-1
No files found.
trunk/src/ZODB/tests/testTransaction.py
View file @
5666ef26
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
"""
"""
Revision information:
Revision information:
$Id: testTransaction.py,v 1.1
3 2003/10/02 18:17:17 jeremy
Exp $
$Id: testTransaction.py,v 1.1
4 2003/10/05 14:34:35 chrism
Exp $
"""
"""
"""
"""
...
@@ -86,6 +86,17 @@ class TransactionTests(unittest.TestCase):
...
@@ -86,6 +86,17 @@ class TransactionTests(unittest.TestCase):
assert
self
.
sub2
.
_p_jar
.
cabort
==
1
assert
self
.
sub2
.
_p_jar
.
cabort
==
1
def
testTransactionNote
(
self
):
t
=
get_transaction
()
t
.
note
(
'This is a note.'
)
self
.
assertEqual
(
t
.
description
,
'This is a note.'
)
t
.
note
(
'Another.'
)
self
.
assertEqual
(
t
.
description
,
'This is a note.
\
n
\
n
Another.'
)
t
.
abort
()
def
testSubTransactionCommitCommit
(
self
):
def
testSubTransactionCommitCommit
(
self
):
self
.
sub1
.
modify
()
self
.
sub1
.
modify
()
...
...
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