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

Remove those checks, there are explicitely disabled in answer handler.

git-svn-id: https://svn.erp5.org/repos/neo/trunk@1410 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent dac92287
...@@ -162,8 +162,6 @@ class ClientHandlerTests(NeoTestBase): ...@@ -162,8 +162,6 @@ class ClientHandlerTests(NeoTestBase):
def test_storageConnectionClosed(self): def test_storageConnectionClosed(self):
self._testStorageWithMethod(self._testConnectionClosed, self._testStorageWithMethod(self._testConnectionClosed,
StorageBootstrapHandler) StorageBootstrapHandler)
self._testStorageWithMethod(self._testConnectionClosed,
StorageAnswersHandler)
def _testTimeoutExpired(self, dispatcher, app, handler_class, uuid=None, conn=None): def _testTimeoutExpired(self, dispatcher, app, handler_class, uuid=None, conn=None):
client_handler = self.buildHandler(handler_class, app, dispatcher) client_handler = self.buildHandler(handler_class, app, dispatcher)
...@@ -178,8 +176,6 @@ class ClientHandlerTests(NeoTestBase): ...@@ -178,8 +176,6 @@ class ClientHandlerTests(NeoTestBase):
self._testMasterWithMethod(self._testTimeoutExpired, PrimaryNotificationsHandler) self._testMasterWithMethod(self._testTimeoutExpired, PrimaryNotificationsHandler)
def test_storageTimeoutExpired(self): def test_storageTimeoutExpired(self):
self._testStorageWithMethod(self._testTimeoutExpired,
StorageAnswersHandler)
self._testStorageWithMethod(self._testTimeoutExpired, self._testStorageWithMethod(self._testTimeoutExpired,
StorageBootstrapHandler) StorageBootstrapHandler)
...@@ -198,8 +194,6 @@ class ClientHandlerTests(NeoTestBase): ...@@ -198,8 +194,6 @@ class ClientHandlerTests(NeoTestBase):
def test_storagePeerBroken(self): def test_storagePeerBroken(self):
self._testStorageWithMethod(self._testPeerBroken, self._testStorageWithMethod(self._testPeerBroken,
StorageBootstrapHandler, state=NodeStates.BROKEN) StorageBootstrapHandler, state=NodeStates.BROKEN)
self._testStorageWithMethod(self._testPeerBroken,
StorageAnswersHandler, state=NodeStates.BROKEN)
def test_notReady(self): def test_notReady(self):
app = Mock({'setNodeNotReady': None}) app = Mock({'setNodeNotReady': 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