Commit 2aa6ae07 authored by Vincent Pelletier's avatar Vincent Pelletier

Use more realistic values in test.

We expect test to not return a value from cache, so make this value be
really different from what test searches.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2483 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 7a550545
......@@ -313,7 +313,7 @@ class ClientApplicationTests(NeoUnitTestBase):
# object should not have been cached
self.assertFalse(oid in mq)
# now a cached version ewxists but should not be hit
mq.store(oid, (tid1, 'WRONG'))
mq.store(oid, (tid2, 'WRONG'))
self.assertTrue(oid in mq)
another_object = (1, oid, tid2, INVALID_SERIAL, 0,
makeChecksum('RIGHT'), 'RIGHT', None)
......
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