summary refs log tree commit diff
path: root/tests/handlers
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2019-03-11 18:01:58 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2019-03-11 18:01:58 +0000
commit66f205e93d933b18a2ba6fe7fa5c9dc33e4190f6 (patch)
tree9ed7c03e123547bdfc4212ba0df95248210a90f7 /tests/handlers
parentMerge branch 'develop' into anoa/trailing_slashes_client (diff)
downloadsynapse-66f205e93d933b18a2ba6fe7fa5c9dc33e4190f6.tar.xz
We're calling different functions now
Diffstat (limited to 'tests/handlers')
-rw-r--r--tests/handlers/test_typing.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py
index b8e97390de..8589a2ee9d 100644
--- a/tests/handlers/test_typing.py
+++ b/tests/handlers/test_typing.py
@@ -177,7 +177,7 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase):
             timeout=20000,
         ))
 
-        put_json = self.hs.get_http_client().put_json
+        put_json = self.hs.get_http_client().put_json_with_trailing_slashes_on_404(
         put_json.assert_called_once_with(
             "farm",
             path="/_matrix/federation/v1/send/1000000",
@@ -254,7 +254,7 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase):
             [call('typing_key', 1, rooms=[ROOM_ID])]
         )
 
-        put_json = self.hs.get_http_client().put_json
+        put_json = self.hs.get_http_client().put_json_with_trailing_slashes_on_404(
         put_json.assert_called_once_with(
             "farm",
             path="/_matrix/federation/v1/send/1000000",