diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-07 13:36:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-07 13:36:29 -0400 |
commit | 7f837959ea25ef50b3675c9c2596ef42592dc127 (patch) | |
tree | b2dacbfabaf27af75b1a7fa218b6cad819251489 /tests/handlers/test_appservice.py | |
parent | Convert additional database stores to async/await (#8045) (diff) | |
download | synapse-7f837959ea25ef50b3675c9c2596ef42592dc127.tar.xz |
Convert directory, e2e_room_keys, end_to_end_keys, monthly_active_users database to async (#8042)
Diffstat (limited to 'tests/handlers/test_appservice.py')
-rw-r--r-- | tests/handlers/test_appservice.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/handlers/test_appservice.py b/tests/handlers/test_appservice.py index 628f7d8db0..2a0b7c1b56 100644 --- a/tests/handlers/test_appservice.py +++ b/tests/handlers/test_appservice.py @@ -120,7 +120,7 @@ class AppServiceHandlerTestCase(unittest.TestCase): self.mock_as_api.query_alias.return_value = make_awaitable(True) self.mock_store.get_app_services.return_value = services - self.mock_store.get_association_from_room_alias.return_value = defer.succeed( + self.mock_store.get_association_from_room_alias.return_value = make_awaitable( Mock(room_id=room_id, servers=servers) ) |