summary refs log tree commit diff
path: root/tests/handlers/test_typing.py
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2020-08-12 10:51:42 -0400
committerGitHub <noreply@github.com>2020-08-12 10:51:42 -0400
commit5ecc8b58255d7e33ad63a6c931efa6ed5e41ad01 (patch)
treeba35dc56b47467c8ab1ece07ef4d5da45acf4230 /tests/handlers/test_typing.py
parentAdd type hints to handlers.message and events.builder (#8067) (diff)
downloadsynapse-5ecc8b58255d7e33ad63a6c931efa6ed5e41ad01.tar.xz
Convert devices database to async/await. (#8069)
Diffstat (limited to 'tests/handlers/test_typing.py')
-rw-r--r--tests/handlers/test_typing.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_typing.py b/tests/handlers/test_typing.py
index 64ddd8243d..64afd581bc 100644
--- a/tests/handlers/test_typing.py
+++ b/tests/handlers/test_typing.py
@@ -116,7 +116,7 @@ class TypingNotificationsTestCase(unittest.HomeserverTestCase):
             retry_timings_res
         )
 
-        self.datastore.get_device_updates_by_remote.return_value = defer.succeed(
+        self.datastore.get_device_updates_by_remote.side_effect = lambda destination, from_stream_id, limit: make_awaitable(
             (0, [])
         )