Commit 3ae83381 authored by Grégory Wisniewski's avatar Grégory Wisniewski

Restore monkey patches to avoid crash next tests.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@845 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 3e2b820a
...@@ -90,6 +90,9 @@ class MasterClientElectionTests(NeoTestBase): ...@@ -90,6 +90,9 @@ class MasterClientElectionTests(NeoTestBase):
ClientConnection.expectMessage = expectMessage ClientConnection.expectMessage = expectMessage
def tearDown(self): def tearDown(self):
# restore patched methods
ClientConnection._addPacket = self._addPacket
ClientConnection.expectMessage = self.expectMessage
NeoTestBase.tearDown(self) NeoTestBase.tearDown(self)
def test_01_connectionStarted(self): def test_01_connectionStarted(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