summary refs log tree commit diff
path: root/tests/handlers/test_typing.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-09-15 15:05:12 +0100
committerErik Johnston <erik@matrix.org>2014-09-15 16:24:03 +0100
commit0897a09f49ea3e259acebe5ec630a06a6acfb08d (patch)
treeb1dfca65c6dc59f6b17ea444d12dafa86592a828 /tests/handlers/test_typing.py
parentFix 'age' key to update on retries (diff)
downloadsynapse-0897a09f49ea3e259acebe5ec630a06a6acfb08d.tar.xz
Fix unit tests after adding extra argument on put_json
Diffstat (limited to 'tests/handlers/test_typing.py')
-rw-r--r--tests/handlers/test_typing.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py
index ab908cdfc1..a66f208abf 100644
--- a/tests/handlers/test_typing.py
+++ b/tests/handlers/test_typing.py
@@ -169,7 +169,8 @@ class TypingNotificationsTestCase(unittest.TestCase):
                         "user_id": self.u_apple.to_string(),
                         "typing": True,
                     }
-                )
+                ),
+                on_send_callback=ANY,
             ),
             defer.succeed((200, "OK"))
         )
@@ -219,7 +220,8 @@ class TypingNotificationsTestCase(unittest.TestCase):
                         "user_id": self.u_apple.to_string(),
                         "typing": False,
                     }
-                )
+                ),
+                on_send_callback=ANY,
             ),
             defer.succeed((200, "OK"))
         )