[Checkins]
SVN: z3c.zalchemy/branches/0.1/src/z3c/zalchemy/tests/TRANSACTION.txt
Ported a test that I fixed and forgot to check in.
Christian Theune
ct at gocept.com
Wed Jun 27 10:20:47 EDT 2007
Log message for revision 77132:
Ported a test that I fixed and forgot to check in.
Changed:
U z3c.zalchemy/branches/0.1/src/z3c/zalchemy/tests/TRANSACTION.txt
-=-
Modified: z3c.zalchemy/branches/0.1/src/z3c/zalchemy/tests/TRANSACTION.txt
===================================================================
--- z3c.zalchemy/branches/0.1/src/z3c/zalchemy/tests/TRANSACTION.txt 2007-06-27 13:47:53 UTC (rev 77131)
+++ z3c.zalchemy/branches/0.1/src/z3c/zalchemy/tests/TRANSACTION.txt 2007-06-27 14:20:45 UTC (rev 77132)
@@ -179,7 +179,7 @@
>>> _storage.dataManager.commit(transaction.manager.get())
Traceback (most recent call last):
...
- SQLError: (IntegrityError) PRIMARY KEY must be unique 'INSERT INTO table2 (id, value) VALUES (?, ?)' [2, 3]
+ SQLError: (IntegrityError) PRIMARY KEY must be unique u'INSERT INTO table2 (id, value) VALUES (?, ?)' [2, 3]
Finally we need to do an abort zope's transaction.
@@ -195,7 +195,7 @@
>>> transaction.commit()
Traceback (most recent call last):
...
- SQLError: (IntegrityError) PRIMARY KEY must be unique 'INSERT INTO table2 (id, value) VALUES (?, ?)' [2, 3]
+ SQLError: (IntegrityError) PRIMARY KEY must be unique u'INSERT INTO table2 (id, value) VALUES (?, ?)' [2, 3]
We need to manually abort the transaction.
More information about the Checkins
mailing list