diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-03-13 18:26:06 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-03-13 18:26:06 +0000 |
commit | 09626bfd39615e25c735ae5d17ad650aca5fac84 (patch) | |
tree | 8a938ae8a577d44095265094f9e9baafa476c4ce /tests/handlers/test_typing.py | |
parent | Retry on 400:M_UNRECOGNIZED (diff) | |
download | synapse-09626bfd39615e25c735ae5d17ad650aca5fac84.tar.xz |
Switch to wrapper function around _send_request
Diffstat (limited to 'tests/handlers/test_typing.py')
-rw-r--r-- | tests/handlers/test_typing.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py index 244a0bc80c..6460cbc708 100644 --- a/tests/handlers/test_typing.py +++ b/tests/handlers/test_typing.py @@ -192,7 +192,7 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase): json_data_callback=ANY, long_retries=True, backoff_on_404=True, - try_trailing_slash_on_404=True, + try_trailing_slash_on_400=True, ) def test_started_typing_remote_recv(self): @@ -270,7 +270,7 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase): json_data_callback=ANY, long_retries=True, backoff_on_404=True, - try_trailing_slash_on_404=True, + try_trailing_slash_on_400=True, ) self.assertEquals(self.event_source.get_current_key(), 1) |