Commit 1bd89c90 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix getConnForCell that is no more private.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1398 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 40453c6c
......@@ -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
......
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