summaryrefslogtreecommitdiff
path: root/tests/auth_tests/test_auth_backends.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auth_tests/test_auth_backends.py')
-rw-r--r--tests/auth_tests/test_auth_backends.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/auth_tests/test_auth_backends.py b/tests/auth_tests/test_auth_backends.py
index 6a642aaba6..35b3cf893c 100644
--- a/tests/auth_tests/test_auth_backends.py
+++ b/tests/auth_tests/test_auth_backends.py
@@ -456,9 +456,6 @@ class PermissionDeniedBackend(object):
"""
Always raises PermissionDenied in `authenticate`, `has_perm` and `has_module_perms`.
"""
- supports_object_permissions = True
- supports_anonymous_user = True
- supports_inactive_user = True
def authenticate(self, username=None, password=None):
raise PermissionDenied
@@ -560,9 +557,6 @@ class TypeErrorBackend(object):
"""
Always raises TypeError.
"""
- supports_object_permissions = True
- supports_anonymous_user = True
- supports_inactive_user = True
def authenticate(self, username=None, password=None):
raise TypeError