[Neo-report] r1882 gregory - /trunk/neo/tests/master/testElectionHandler.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Mar 1 18:09:59 CET 2010


Author: gregory
Date: Mon Mar  1 18:09:57 2010
New Revision: 1882

Log:
Remove a wrong test.

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

Modified:
    trunk/neo/tests/master/testElectionHandler.py

Modified: trunk/neo/tests/master/testElectionHandler.py
==============================================================================
--- trunk/neo/tests/master/testElectionHandler.py [iso-8859-1] (original)
+++ trunk/neo/tests/master/testElectionHandler.py [iso-8859-1] Mon Mar  1 18:09:57 2010
@@ -297,13 +297,6 @@
     def _getNodeList(self):
         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):
         uuid = self.getNewUUID()
         conn = Mock({





More information about the Neo-report mailing list