summary refs log tree commit diff
path: root/tests/http/test_fedclient.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-03-18 17:45:54 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-03-18 17:45:54 +0000
commit621e7f37f1a7f32ff5046060f17a1da825f9ff8b (patch)
tree4b0e1ca2864750c48270b6a1bfbb1caa89113b64 /tests/http/test_fedclient.py
parentCorrect var name (diff)
downloadsynapse-621e7f37f1a7f32ff5046060f17a1da825f9ff8b.tar.xz
Better exception handling
Diffstat (limited to 'tests/http/test_fedclient.py')
-rw-r--r--tests/http/test_fedclient.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/http/test_fedclient.py b/tests/http/test_fedclient.py
index b45eee3a82..84216db44f 100644
--- a/tests/http/test_fedclient.py
+++ b/tests/http/test_fedclient.py
@@ -272,7 +272,7 @@ class FederationClientTests(HomeserverTestCase):
         """
         If a connection is made to a client but the client rejects it due to
         requiring a trailing slash. We need to retry the request with a
-        trailing slash. Workaround for Synapse <=v0.99.2, explained in #3622.
+        trailing slash. Workaround for Synapse <= v0.99.2, explained in #3622.
         """
         d = self.cl.get_json(
             "testserv:8008", "foo/bar", try_trailing_slash_on_400=True,
@@ -302,9 +302,6 @@ class FederationClientTests(HomeserverTestCase):
             b'{"errcode":"M_UNRECOGNIZED","error":"Unrecognized request"}'
         )
 
-        # We should get a 400 response, then try again
-        self.pump()
-
         # We should get another request wiht a trailing slash
         self.assertRegex(conn.value(), b"^GET /foo/bar/")