From 1bd89c9043585754ce2b327cf4a2fa9aee2c55d2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gr=C3=A9gory=20Wisniewski?= <gregory@nexedi.com>
Date: Tue, 12 Jan 2010 15:34:19 +0000
Subject: [PATCH] Fix getConnForCell that is no more private.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1398 71dcc9de-d417-0410-9af5-da40c76e7ee4
---
 neo/tests/client/testClientApp.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/neo/tests/client/testClientApp.py b/neo/tests/client/testClientApp.py
index b9d19c23..898d3c4e 100644
--- a/neo/tests/client/testClientApp.py
+++ b/neo/tests/client/testClientApp.py
@@ -247,7 +247,7 @@ class ClientApplicationTests(NeoTestBase):
         conn = Mock({ 
             'getAddress': ('127.0.0.1', 0),
         })
-        app.cp = Mock({ '_getConnForCell' : conn})
+        app.cp = Mock({ 'getConnForCell' : conn})
         result = app.load(oid)
         self.assertEquals(result, ('OBJ', tid1))
         self.checkNoPacketSent(conn)
@@ -745,7 +745,7 @@ class ClientApplicationTests(NeoTestBase):
             'getNodeList': (node1, node2, ),
             'getCellListForTID': ReturnValues([cell1], [cell2]),
         })
-        app.cp = Mock({ '_getConnForCell': conn})
+        app.cp = Mock({ 'getConnForCell': conn})
         def _waitMessage(self, conn=None, msg_id=None, handler=None):
             self.local_var.node_tids = {uuid1: (tid1, ), uuid2: (tid2, )}
             Application._waitMessage = _waitMessage_old
-- 
2.30.9