diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-01-12 11:07:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-12 11:07:01 -0500 |
commit | 723b19748aca0de4ae0eb2d6d89844fad04f29ae (patch) | |
tree | f0f5f02841c0fe593a099b8c8b624f974716efbd /tests/http | |
parent | Kill off `HomeServer.get_ip_from_request()` (#9080) (diff) | |
download | synapse-723b19748aca0de4ae0eb2d6d89844fad04f29ae.tar.xz |
Handle bad JSON data being returned from the federation API. (#9070)
Diffstat (limited to 'tests/http')
-rw-r--r-- | tests/http/test_fedclient.py | 2 |
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) |