diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2023-02-08 16:29:49 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-08 16:29:49 -0500 |
commit | 30509a1010f10bc7924146cac57571c4b24914d7 (patch) | |
tree | 27f0185c1241923b423643751fcfb3c5d142f778 /tests/handlers | |
parent | Add missing type hints to tests. (#15027) (diff) | |
download | synapse-30509a1010f10bc7924146cac57571c4b24914d7.tar.xz |
Add more missing type hints to tests. (#15028)
Diffstat (limited to 'tests/handlers')
-rw-r--r-- | tests/handlers/test_oidc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/handlers/test_oidc.py b/tests/handlers/test_oidc.py index adddbd002f..951caaa6b3 100644 --- a/tests/handlers/test_oidc.py +++ b/tests/handlers/test_oidc.py @@ -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: |