From 84a5294788eed87e042823f2e49900b6044e3b77 Mon Sep 17 00:00:00 2001 From: Preston Holmes Date: Fri, 30 Nov 2012 22:54:42 -0800 Subject: [PATCH] Added missing custom user skip decorator PermissionDeniedBackendTest references User model. --- django/contrib/auth/tests/auth_backends.py | 1 + 1 file changed, 1 insertion(+) 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