Commit 7586e8de authored by Grégory Wisniewski's avatar Grégory Wisniewski

Use accessor instead of direct access.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1399 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 1bd89c90
...@@ -417,7 +417,7 @@ class ClientApplicationTests(NeoTestBase): ...@@ -417,7 +417,7 @@ class ClientApplicationTests(NeoTestBase):
app.local_var.data_dict[oid] = 'BEFORE' app.local_var.data_dict[oid] = 'BEFORE'
self.assertRaises(NEOStorageConflictError, app.store, oid, tid, '', None, txn) self.assertRaises(NEOStorageConflictError, app.store, oid, tid, '', None, txn)
self.assertTrue(oid not in app.local_var.data_dict) self.assertTrue(oid not in app.local_var.data_dict)
self.assertEquals(app.conflict_serial, tid) self.assertEquals(app.getConflictSerial(), tid)
self.assertEquals(app.local_var.object_stored, (-1, tid)) self.assertEquals(app.local_var.object_stored, (-1, tid))
self.checkAskStoreObject(conn) self.checkAskStoreObject(conn)
self.checkDispatcherRegisterCalled(app, conn) self.checkDispatcherRegisterCalled(app, conn)
......
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