[Neo-report] r2483 vincent - /trunk/neo/tests/client/testClientApp.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Dec 9 13:54:33 CET 2010
Author: vincent
Date: Thu Dec 9 13:54:33 2010
New Revision: 2483
Log:
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.
Modified:
trunk/neo/tests/client/testClientApp.py
Modified: trunk/neo/tests/client/testClientApp.py
==============================================================================
--- trunk/neo/tests/client/testClientApp.py [iso-8859-1] (original)
+++ trunk/neo/tests/client/testClientApp.py [iso-8859-1] Thu Dec 9 13:54:33 2010
@@ -313,7 +313,7 @@ class ClientApplicationTests(NeoUnitTest
# 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)
More information about the Neo-report
mailing list