From 2aa6ae0708420743c4899fdc784e58982de021e3 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Thu, 9 Dec 2010 12:54:33 +0000 Subject: [PATCH] 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 --- neo/tests/client/testClientApp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neo/tests/client/testClientApp.py b/neo/tests/client/testClientApp.py index ab29b930..2121cba3 100644 --- a/neo/tests/client/testClientApp.py +++ b/neo/tests/client/testClientApp.py @@ -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) -- 2.30.9