Skip to content
Browse files

Added missing custom user skip decorator

PermissionDeniedBackendTest references User model.
  • Loading branch information...
1 parent 008e625 commit 84a5294788eed87e042823f2e49900b6044e3b77 @ptone ptone committed Nov 30, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 django/contrib/auth/tests/auth_backends.py
View
1 django/contrib/auth/tests/auth_backends.py
@@ -338,6 +338,7 @@ def authenticate(self, username=None, password=None):
raise PermissionDenied
+@skipIfCustomUser
class PermissionDeniedBackendTest(TestCase):
"""
Tests that other backends are not checked once a backend raises PermissionDenied

0 comments on commit 84a5294

Please sign in to comment.
Something went wrong with that request. Please try again.