mypy: Use Python 3 type syntax in tests/test_auth_backends.py.

This commit is contained in:
Xavier Cooney 2017-12-09 05:57:59 +00:00 committed by showell
parent 61704dc20b
commit 06b462ba19
1 changed files with 1 additions and 2 deletions

View File

@ -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,