Kaydet (Commit) 8dc3ba5c authored tarafından Claude Paroz's avatar Claude Paroz

Removed obsolete supports_* auth backend attributes in tests

üst f5a33e48
...@@ -456,9 +456,6 @@ class PermissionDeniedBackend(object): ...@@ -456,9 +456,6 @@ class PermissionDeniedBackend(object):
""" """
Always raises PermissionDenied in `authenticate`, `has_perm` and `has_module_perms`. 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): def authenticate(self, username=None, password=None):
raise PermissionDenied raise PermissionDenied
...@@ -560,9 +557,6 @@ class TypeErrorBackend(object): ...@@ -560,9 +557,6 @@ class TypeErrorBackend(object):
""" """
Always raises TypeError. Always raises TypeError.
""" """
supports_object_permissions = True
supports_anonymous_user = True
supports_inactive_user = True
def authenticate(self, username=None, password=None): def authenticate(self, username=None, password=None):
raise TypeError raise TypeError
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment