Commit 60700d00 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Fix tests using broadcastNodeInformation, broken since r1451.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1471 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 28182c79
...@@ -65,7 +65,7 @@ class MasterAppTests(NeoTestBase): ...@@ -65,7 +65,7 @@ class MasterAppTests(NeoTestBase):
# no address defined, not send to client node # no address defined, not send to client node
c_node = self.app.nm.createClient(uuid = self.getNewUUID()) c_node = self.app.nm.createClient(uuid = self.getNewUUID())
self.app.broadcastNodeInformation(c_node) self.app.broadcastNodesInformation([c_node])
# check conn # check conn
self.checkNoPacketSent(client_conn) self.checkNoPacketSent(client_conn)
self.checkNotifyNodeInformation(master_conn) self.checkNotifyNodeInformation(master_conn)
...@@ -80,7 +80,7 @@ class MasterAppTests(NeoTestBase): ...@@ -80,7 +80,7 @@ class MasterAppTests(NeoTestBase):
uuid = self.getNewUUID(), uuid = self.getNewUUID(),
address=("127.1.0.1", 3361) address=("127.1.0.1", 3361)
) )
self.app.broadcastNodeInformation(c_node) self.app.broadcastNodesInformation([c_node])
# check conn # check conn
self.checkNoPacketSent(client_conn) self.checkNoPacketSent(client_conn)
self.checkNotifyNodeInformation(master_conn) self.checkNotifyNodeInformation(master_conn)
...@@ -96,7 +96,7 @@ class MasterAppTests(NeoTestBase): ...@@ -96,7 +96,7 @@ class MasterAppTests(NeoTestBase):
address=("127.0.0.1", 1351) address=("127.0.0.1", 1351)
) )
self.app.broadcastNodeInformation(s_node) self.app.broadcastNodesInformation([s_node])
# check conn # check conn
self.checkNotifyNodeInformation(client_conn) self.checkNotifyNodeInformation(client_conn)
self.checkNotifyNodeInformation(master_conn) self.checkNotifyNodeInformation(master_conn)
......
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