diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2022-12-16 08:53:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-16 08:53:28 -0500 |
commit | 3aeca2588b79111a48a6083c88efc4d68a2cea19 (patch) | |
tree | cd1850aba9ddcb05a9b357541a5c20b6ca617b99 /tests/config/test_registration_config.py | |
parent | Improve type annotations for the helper methods on a `CachedFunction`. (#14685) (diff) | |
download | synapse-3aeca2588b79111a48a6083c88efc4d68a2cea19.tar.xz |
Add missing type hints to tests.config. (#14681)
Diffstat (limited to 'tests/config/test_registration_config.py')
-rw-r--r-- | tests/config/test_registration_config.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/config/test_registration_config.py b/tests/config/test_registration_config.py index 33d7b70e32..f6869d7f06 100644 --- a/tests/config/test_registration_config.py +++ b/tests/config/test_registration_config.py @@ -21,7 +21,7 @@ from tests.utils import default_config class RegistrationConfigTestCase(ConfigFileTestCase): - def test_session_lifetime_must_not_be_exceeded_by_smaller_lifetimes(self): + def test_session_lifetime_must_not_be_exceeded_by_smaller_lifetimes(self) -> None: """ session_lifetime should logically be larger than, or at least as large as, all the different token lifetimes. @@ -91,7 +91,7 @@ class RegistrationConfigTestCase(ConfigFileTestCase): "", ) - def test_refuse_to_start_if_open_registration_and_no_verification(self): + def test_refuse_to_start_if_open_registration_and_no_verification(self) -> None: self.generate_config() self.add_lines_to_config( [ |