summary refs log tree commit diff
path: root/tests/unittest.py
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/unittest.py
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/unittest.py')
-rw-r--r--tests/unittest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unittest.py b/tests/unittest.py
index a120c2976c..fa92dd94eb 100644
--- a/tests/unittest.py
+++ b/tests/unittest.py
@@ -75,6 +75,7 @@ from synapse.util.httpresourcetree import create_resource_tree
 from tests.server import (
     CustomHeaderType,
     FakeChannel,
+    ThreadedMemoryReactorClock,
     get_clock,
     make_request,
     setup_test_homeserver,
@@ -360,7 +361,7 @@ class HomeserverTestCase(TestCase):
                 store.db_pool.updates.do_next_background_update(False), by=0.1
             )
 
-    def make_homeserver(self, reactor: MemoryReactor, clock: Clock):
+    def make_homeserver(self, reactor: ThreadedMemoryReactorClock, clock: Clock):
         """
         Make and return a homeserver.