mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-12 15:12:17 -04:00
Fix type hints in typing edu unit tests (#14886)
This commit is contained in:
parent
7e8d455280
commit
871ff05add
5 changed files with 66 additions and 43 deletions
|
@ -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.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue