Commit 92d9405d authored by Grégory Wisniewski's avatar Grégory Wisniewski

Register the new identified node to the node manager and return a fake connection n it.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1434 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 05687014
......@@ -59,8 +59,12 @@ class MasterStorageHandlerTests(NeoTestBase):
port=10021):
"""Do first step of identification to MN
"""
nm = self.app.nm
uuid = self.getNewUUID()
return uuid
node = nm.createFromNodeType(node_type, address=(ip, port),
uuid=uuid)
conn = self.getFakeConnection(node.getUUID(),node.getAddress())
return (node, conn)
def test_05_notifyNodeInformation(self):
......
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