mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-06 19:44:55 -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
|
@ -150,7 +150,7 @@ class OidcHandlerTestCase(HomeserverTestCase):
|
|||
|
||||
hs = self.setup_test_homeserver()
|
||||
self.hs_patcher = self.fake_server.patch_homeserver(hs=hs)
|
||||
self.hs_patcher.start()
|
||||
self.hs_patcher.start() # type: ignore[attr-defined]
|
||||
|
||||
self.handler = hs.get_oidc_handler()
|
||||
self.provider = self.handler._providers["oidc"]
|
||||
|
@ -170,7 +170,7 @@ class OidcHandlerTestCase(HomeserverTestCase):
|
|||
return hs
|
||||
|
||||
def tearDown(self) -> None:
|
||||
self.hs_patcher.stop()
|
||||
self.hs_patcher.stop() # type: ignore[attr-defined]
|
||||
return super().tearDown()
|
||||
|
||||
def reset_mocks(self) -> None:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue