summary refs log tree commit diff
path: root/tests/storage
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2023-01-26 11:15:50 +0100
committerGitHub <noreply@github.com>2023-01-26 10:15:50 +0000
commit871ff05addfabecafe3e5d906f63fcc7af895cd5 (patch)
tree91b4f27840b9ca8cc7bdb1e3776c0ff851188631 /tests/storage
parentFix a bug in the send_local_online_presence_to module API (#14880) (diff)
downloadsynapse-871ff05addfabecafe3e5d906f63fcc7af895cd5.tar.xz
Fix type hints in typing edu unit tests (#14886)
Diffstat (limited to 'tests/storage')
-rw-r--r--tests/storage/test_user_directory.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/storage/test_user_directory.py b/tests/storage/test_user_directory.py
index 3ba896ecf3..f1ca523d23 100644
--- a/tests/storage/test_user_directory.py
+++ b/tests/storage/test_user_directory.py
@@ -28,6 +28,7 @@ from synapse.storage.background_updates import _BackgroundUpdateHandler
 from synapse.storage.roommember import ProfileInfo
 from synapse.util import Clock
 
+from tests.server import ThreadedMemoryReactorClock
 from tests.test_utils.event_injection import inject_member_event
 from tests.unittest import HomeserverTestCase, override_config
 
@@ -138,7 +139,9 @@ class UserDirectoryInitialPopulationTestcase(HomeserverTestCase):
         register.register_servlets,
     ]
 
-    def make_homeserver(self, reactor: MemoryReactor, clock: Clock) -> HomeServer:
+    def make_homeserver(
+        self, reactor: ThreadedMemoryReactorClock, clock: Clock
+    ) -> HomeServer:
         self.appservice = ApplicationService(
             token="i_am_an_app_service",
             id="1234",