summary refs log tree commit diff
path: root/tests/handlers/test_stats.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-10-20 17:33:47 +0100
committerAndrew Morgan <andrew@amorgan.xyz>2020-10-20 17:33:47 +0100
commita89a160c1723dbc2f9966cf939d5797a41356188 (patch)
tree1823a598b2be383905b42d7de4295cf41d5d42de /tests/handlers/test_stats.py
parentMerge commit 'a466b6797' into anoa/dinsic_release_1_21_x (diff)
parentConvert simple_update* and simple_select* to async (#8173) (diff)
downloadsynapse-a89a160c1723dbc2f9966cf939d5797a41356188.tar.xz
Merge commit '4a739c73b' into anoa/dinsic_release_1_21_x
* commit '4a739c73b':
  Convert simple_update* and simple_select* to async (#8173)
Diffstat (limited to 'tests/handlers/test_stats.py')
-rw-r--r--tests/handlers/test_stats.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_stats.py b/tests/handlers/test_stats.py

index 2b7eeef129..fba459d32e 100644 --- a/tests/handlers/test_stats.py +++ b/tests/handlers/test_stats.py
@@ -87,8 +87,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") )