mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 21:43:21 +00:00
ruff: Fix SIM118 Use key in dict instead of key in dict.keys().
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
a6442288cf
commit
e1ed44907b
@@ -243,7 +243,7 @@ class AuthBackendTest(ZulipTestCase):
|
||||
clear_supported_auth_backends_cache()
|
||||
|
||||
# Verify auth fails if the auth backend is disabled for the realm
|
||||
for backend_name in AUTH_BACKEND_NAME_MAP.keys():
|
||||
for backend_name in AUTH_BACKEND_NAME_MAP:
|
||||
if isinstance(backend, AUTH_BACKEND_NAME_MAP[backend_name]):
|
||||
break
|
||||
|
||||
|
||||
Reference in New Issue
Block a user