Loading django/contrib/auth/tests/__init__.py +0 −3 Original line number Diff line number Diff line # The password for the fixture data users is 'password' # For testing that auth backends can be referenced using a convenience import from django.contrib.auth.tests.test_auth_backends import ImportedModelBackend # NOQA django/contrib/auth/tests/backend_alias.py 0 → 100644 +2 −0 Original line number Diff line number Diff line # For testing that auth backends can be referenced using a convenience import from django.contrib.auth.tests.test_auth_backends import ImportedModelBackend # NOQA django/contrib/auth/tests/test_auth_backends.py +1 −1 Original line number Diff line number Diff line Loading @@ -620,7 +620,7 @@ class ImportedBackendTests(TestCase): as the one defined in AUTHENTICATION_BACKENDS setting. """ backend = 'django.contrib.auth.tests.ImportedModelBackend' backend = 'django.contrib.auth.tests.backend_alias.ImportedModelBackend' @override_settings(AUTHENTICATION_BACKENDS=(backend, )) def test_backend_path(self): Loading Loading
django/contrib/auth/tests/__init__.py +0 −3 Original line number Diff line number Diff line # The password for the fixture data users is 'password' # For testing that auth backends can be referenced using a convenience import from django.contrib.auth.tests.test_auth_backends import ImportedModelBackend # NOQA
django/contrib/auth/tests/backend_alias.py 0 → 100644 +2 −0 Original line number Diff line number Diff line # For testing that auth backends can be referenced using a convenience import from django.contrib.auth.tests.test_auth_backends import ImportedModelBackend # NOQA
django/contrib/auth/tests/test_auth_backends.py +1 −1 Original line number Diff line number Diff line Loading @@ -620,7 +620,7 @@ class ImportedBackendTests(TestCase): as the one defined in AUTHENTICATION_BACKENDS setting. """ backend = 'django.contrib.auth.tests.ImportedModelBackend' backend = 'django.contrib.auth.tests.backend_alias.ImportedModelBackend' @override_settings(AUTHENTICATION_BACKENDS=(backend, )) def test_backend_path(self): Loading