diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-04-10 11:49:48 +0100 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-04-10 11:49:48 +0100 |
commit | 0200c864d272e936ce552e27bfab76e2d79b1685 (patch) | |
tree | 97c771ed60f7e74b9c9fe3f7a0fbec0757f11926 | |
parent | tests pass (diff) | |
download | synapse-0200c864d272e936ce552e27bfab76e2d79b1685.tar.xz |
lint
-rw-r--r-- | tests/http/test_fedclient.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/http/test_fedclient.py b/tests/http/test_fedclient.py index 715e714c0e..264b3ad059 100644 --- a/tests/http/test_fedclient.py +++ b/tests/http/test_fedclient.py @@ -22,7 +22,7 @@ from twisted.test.proto_helpers import StringTransport from twisted.web.client import ResponseNeverReceived from twisted.web.http import HTTPChannel -from synapse.api.errors import RequestSendFailed, SynapseError +from synapse.api.errors import RequestSendFailed from synapse.http.matrixfederationclient import ( MatrixFederationHttpClient, MatrixFederationRequest, @@ -212,7 +212,6 @@ class FederationClientTests(HomeserverTestCase): self.assertIsInstance(f.value, RequestSendFailed) self.assertIsInstance(f.value.inner_exception, ResponseNeverReceived) - @unittest.DEBUG def test_client_ip_range_blacklist(self): """Ensure that Synapse does not try to connect to blacklisted IPs""" # Set up the ip_range blacklist @@ -287,7 +286,6 @@ class FederationClientTests(HomeserverTestCase): clients = self.reactor.tcpClients self.assertEqual(len(clients), 0) - # Try making a GET request to a non-blacklisted IPv4 address # ---------------------------------------------------------- @defer.inlineCallbacks |