mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
auth: Convert DevAuthBackend to use a unique argument pattern.
This helps ensure that we won't accidentally activate this backend on other code paths.
This commit is contained in:
@@ -282,7 +282,7 @@ class AuthBackendTest(ZulipTestCase):
|
||||
def test_devauth_backend(self):
|
||||
# type: () -> None
|
||||
self.verify_backend(DevAuthBackend(),
|
||||
good_kwargs=dict(username=self.get_username()))
|
||||
good_kwargs=dict(dev_auth_username=self.get_username()))
|
||||
|
||||
@override_settings(AUTHENTICATION_BACKENDS=('zproject.backends.ZulipRemoteUserBackend',))
|
||||
def test_remote_user_backend(self):
|
||||
|
||||
Reference in New Issue
Block a user