mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-15 02:40:39 -05:00
Add some type hints to the tests.handlers module. (#12207)
This commit is contained in:
parent
bc9dff1d95
commit
e10a2fe0c2
7 changed files with 74 additions and 61 deletions
|
|
@ -39,7 +39,7 @@ class DeactivateAccountTestCase(HomeserverTestCase):
|
|||
self.user = self.register_user("user", "pass")
|
||||
self.token = self.login("user", "pass")
|
||||
|
||||
def _deactivate_my_account(self):
|
||||
def _deactivate_my_account(self) -> None:
|
||||
"""
|
||||
Deactivates the account `self.user` using `self.token` and asserts
|
||||
that it returns a 200 success code.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue