Commit 1da6ebc1 authored by Vincent Pelletier's avatar Vincent Pelletier

Update a comment forgotten in r2246.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2248 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent e9c789dd
...@@ -383,7 +383,7 @@ class ClientApplicationTests(NeoTestBase): ...@@ -383,7 +383,7 @@ class ClientApplicationTests(NeoTestBase):
app.tpc_begin(transaction=txn, tid=tid) app.tpc_begin(transaction=txn, tid=tid)
self.assertTrue(app.local_var.txn is txn) self.assertTrue(app.local_var.txn is txn)
self.assertEquals(app.local_var.tid, tid) self.assertEquals(app.local_var.tid, tid)
# next, the transaction already begin -> do nothing # next, the transaction already begin -> raise
self.assertRaises(StorageTransactionError, app.tpc_begin, self.assertRaises(StorageTransactionError, app.tpc_begin,
transaction=txn, tid=None) transaction=txn, tid=None)
self.assertTrue(app.local_var.txn is txn) self.assertTrue(app.local_var.txn is txn)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment