summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-01-12 11:07:01 -0500
committerGitHub <noreply@github.com>2021-01-12 11:07:01 -0500
commit723b19748aca0de4ae0eb2d6d89844fad04f29ae (patch)
treef0f5f02841c0fe593a099b8c8b624f974716efbd /tests
parentKill off `HomeServer.get_ip_from_request()` (#9080) (diff)
downloadsynapse-723b19748aca0de4ae0eb2d6d89844fad04f29ae.tar.xz
Handle bad JSON data being returned from the federation API. (#9070)
Diffstat (limited to 'tests')
-rw-r--r--tests/http/test_fedclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/http/test_fedclient.py b/tests/http/test_fedclient.py
index 212484a7fe..9c52c8fdca 100644
--- a/tests/http/test_fedclient.py
+++ b/tests/http/test_fedclient.py
@@ -560,4 +560,4 @@ class FederationClientTests(HomeserverTestCase):
         self.pump()
 
         f = self.failureResultOf(test_d)
-        self.assertIsInstance(f.value, ValueError)
+        self.assertIsInstance(f.value, RequestSendFailed)