diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-08-27 07:08:38 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-27 07:08:38 -0400 |
commit | 4a739c73b404284253a548f60197e70c6c385645 (patch) | |
tree | 6521f9d972250b5bf50748b691a54c0a7e9d0282 /tests/handlers/test_stats.py | |
parent | Reduce run-times of tests by advancing the reactor less (#7757) (diff) | |
download | synapse-4a739c73b404284253a548f60197e70c6c385645.tar.xz |
Convert simple_update* and simple_select* to async (#8173)
Diffstat (limited to 'tests/handlers/test_stats.py')
-rw-r--r-- | tests/handlers/test_stats.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_stats.py b/tests/handlers/test_stats.py index 88b05c23a0..a609f148c0 100644 --- a/tests/handlers/test_stats.py +++ b/tests/handlers/test_stats.py @@ -81,8 +81,8 @@ class StatsRoomTests(unittest.HomeserverTestCase): ) ) - def get_all_room_state(self): - return self.store.db_pool.simple_select_list( + async def get_all_room_state(self): + return await self.store.db_pool.simple_select_list( "room_stats_state", None, retcols=("name", "topic", "canonical_alias") ) |