Commit c1ba5715 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Remove a wrong test.

Master nodes don't exchange node informations during election, this packet
handler is not implemented and so unexpected.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1882 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 60c44ea2
...@@ -297,13 +297,6 @@ class MasterServerElectionTests(NeoTestBase): ...@@ -297,13 +297,6 @@ class MasterServerElectionTests(NeoTestBase):
def _getNodeList(self): def _getNodeList(self):
return [x.asTuple() for x in self.app.nm.getList()] return [x.asTuple() for x in self.app.nm.getList()]
def test_notifyNodeInformation1(self):
""" Not identified """
node, conn = self.identifyToMasterNode(uuid=None)
node_list = self._getNodeList()
self.assertRaises(protocol.ProtocolError,
self.election.notifyNodeInformation, conn, node_list)
def __getClient(self): def __getClient(self):
uuid = self.getNewUUID() uuid = self.getNewUUID()
conn = Mock({ conn = Mock({
......
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