summaryrefslogtreecommitdiff
path: root/tests/auth_tests/test_auth_backends.py
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2015-02-11 08:24:42 -0500
committerTim Graham <timograham@gmail.com>2015-02-11 10:29:48 -0500
commit5ab327a3894c26f57baabe14084bcce2a71b8af8 (patch)
tree33fdf55b341739952a80226536568ed60fe4be40 /tests/auth_tests/test_auth_backends.py
parent2d7aca3da0a46c09e9c70ebdb56ed340691a999f (diff)
Moved non-documented auth test models to the new test location.
Diffstat (limited to 'tests/auth_tests/test_auth_backends.py')
-rw-r--r--tests/auth_tests/test_auth_backends.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auth_tests/test_auth_backends.py b/tests/auth_tests/test_auth_backends.py
index 5dde319197..b5d6b82fcc 100644
--- a/tests/auth_tests/test_auth_backends.py
+++ b/tests/auth_tests/test_auth_backends.py
@@ -6,14 +6,14 @@ from django.contrib.auth import BACKEND_SESSION_KEY, authenticate, get_user
from django.contrib.auth.backends import ModelBackend
from django.contrib.auth.hashers import MD5PasswordHasher
from django.contrib.auth.models import AnonymousUser, Group, Permission, User
-from django.contrib.auth.tests.custom_user import (
- CustomPermissionsUser, CustomUser, ExtensionUser,
-)
+from django.contrib.auth.tests.custom_user import CustomUser, ExtensionUser
from django.contrib.contenttypes.models import ContentType
from django.core.exceptions import ImproperlyConfigured, PermissionDenied
from django.http import HttpRequest
from django.test import TestCase, modify_settings, override_settings
+from .models import CustomPermissionsUser
+
class CountingMD5PasswordHasher(MD5PasswordHasher):
"""Hasher that counts how many times it computes a hash."""