summaryrefslogtreecommitdiff
path: root/tests/auth_tests/test_auth_backends.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2015-09-20 12:12:02 +0200
committerClaude Paroz <claude@2xlibre.net>2015-09-20 12:16:28 +0200
commit8dc3ba5cebcf19a4013542e7c2f5faea73a02724 (patch)
tree1f3458818290ec3d9cee08f013cbe4fcc5c57715 /tests/auth_tests/test_auth_backends.py
parentf5a33e4840d3ad4d1199e99f5a17a9af1d2176f9 (diff)
Removed obsolete supports_* auth backend attributes in tests
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