From 8dc3ba5cebcf19a4013542e7c2f5faea73a02724 Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sun, 20 Sep 2015 12:12:02 +0200 Subject: [PATCH] Removed obsolete supports_* auth backend attributes in tests --- tests/auth_tests/test_auth_backends.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/auth_tests/test_auth_backends.py b/tests/auth_tests/test_auth_backends.py index 6a642aaba69..35b3cf893cd 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