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

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Feb 23 16:58:35 CET 2010


Author: gregory
Date: Tue Feb 23 16:58:34 2010
New Revision: 1840

Log:
Unused (and broken) method.

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] Tue Feb 23 16:58:34 2010
@@ -244,14 +244,6 @@
         return (node, conn)
 
 
-
-    def checkCalledAskPrimary(self, conn, packet_number=0):
-        """ Check ask primary master has been send"""
-        call = conn.mockGetNamedCalls("_addPacket")[packet_number]
-        packet = call.getParam(0)
-        self.assertTrue(isinstance(packet, Packet))
-        self.assertEquals(packet.getType(),AskPrimary)
-
     # Tests
 
     def test_requestIdentification1(self):





More information about the Neo-report mailing list