Commit 186f65da authored by Vincent Pelletier's avatar Vincent Pelletier

Small test cleanups.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@319 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent e6ca0260
......@@ -54,9 +54,6 @@ class ClientEventHandlerTest(unittest.TestCase):
# Silence all log messages
logging.basicConfig(level=logging.CRITICAL + 1)
# def tearDown(self):
# pass
def getConnection(self, uuid=None, port=10010, next_id=None, ip='127.0.0.1'):
if uuid is None:
uuid = self.getUUID()
......@@ -232,7 +229,6 @@ class ClientEventHandlerTest(unittest.TestCase):
client_handler.handleNotReady(conn, None, None)
self.assertEquals(app.local_var.node_not_ready, 1)
def test_clientAcceptNodeIdentification(self):
class App:
nm = Mock({'getNodeByServer': None})
......
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