mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-12 15:12:17 -04:00
Add more missing type hints to tests. (#15028)
This commit is contained in:
parent
4eed7b2ede
commit
30509a1010
14 changed files with 124 additions and 111 deletions
|
@ -315,7 +315,7 @@ class HomeserverTestCase(TestCase):
|
|||
|
||||
# This has to be a function and not just a Mock, because
|
||||
# `self.helper.auth_user_id` is temporarily reassigned in some tests
|
||||
async def get_requester(*args, **kwargs) -> Requester:
|
||||
async def get_requester(*args: Any, **kwargs: Any) -> Requester:
|
||||
assert self.helper.auth_user_id is not None
|
||||
return create_requester(
|
||||
user_id=UserID.from_string(self.helper.auth_user_id),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue