summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPreston Holmes <preston@ptone.com>2012-11-30 22:54:42 -0800
committerPreston Holmes <preston@ptone.com>2012-11-30 22:54:42 -0800
commit84a5294788eed87e042823f2e49900b6044e3b77 (patch)
tree1873cda597aa1a8fab1d758529a03caab5d8f884
parent008e625c669513371e27964a82ad6a0abeefc49d (diff)
Added missing custom user skip decorator
PermissionDeniedBackendTest references User model.
-rw-r--r--django/contrib/auth/tests/auth_backends.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/contrib/auth/tests/auth_backends.py b/django/contrib/auth/tests/auth_backends.py
index 2ab0bd0efa..61acdd8c73 100644
--- a/django/contrib/auth/tests/auth_backends.py
+++ b/django/contrib/auth/tests/auth_backends.py
@@ -338,6 +338,7 @@ class PermissionDeniedBackend(object):
raise PermissionDenied
+@skipIfCustomUser
class PermissionDeniedBackendTest(TestCase):
"""
Tests that other backends are not checked once a backend raises PermissionDenied