summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-10-29 14:05:32 +0000
committerErik Johnston <erik@matrix.org>2019-10-29 14:13:08 +0000
commit3f33879be4697666a304a472d090d4def0c671d0 (patch)
tree4fb8634f9302afb507cb5f80c166555bf158a8c3 /tests
parentMerge pull request #6263 from matrix-org/erikj/caches_return_deferreds (diff)
downloadsynapse-3f33879be4697666a304a472d090d4def0c671d0.tar.xz
Port federation_server to async/await
Diffstat (limited to 'tests')
-rw-r--r--tests/handlers/test_typing.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py
index 67f1013051..f360c8e965 100644
--- a/tests/handlers/test_typing.py
+++ b/tests/handlers/test_typing.py
@@ -144,6 +144,9 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase):
         self.datastore.get_to_device_stream_token = lambda: 0
         self.datastore.get_new_device_msgs_for_remote = lambda *args, **kargs: ([], 0)
         self.datastore.delete_device_msgs_for_remote = lambda *args, **kargs: None
+        self.datastore.set_received_txn_response = lambda *args, **kwargs: defer.succeed(
+            None
+        )
 
     def test_started_typing_local(self):
         self.room_members = [U_APPLE, U_BANANA]