mirror of https://github.com/zulip/zulip.git
mypy: Use Python 3 type syntax in tests/test_auth_backends.py.
This commit is contained in:
parent
61704dc20b
commit
06b462ba19
|
@ -306,8 +306,7 @@ class AuthBackendTest(ZulipTestCase):
|
|||
realm=get_realm('zephyr')))
|
||||
|
||||
@override_settings(AUTHENTICATION_BACKENDS=('zproject.backends.ZulipRemoteUserBackend',))
|
||||
def test_remote_user_backend_invalid_realm(self):
|
||||
# type: () -> None
|
||||
def test_remote_user_backend_invalid_realm(self) -> None:
|
||||
username = self.get_username()
|
||||
self.verify_backend(ZulipRemoteUserBackend(),
|
||||
good_kwargs=dict(remote_user=username,
|
||||
|
|
Loading…
Reference in New Issue