Skip to content

Commit

Permalink
Added missing custom user skip decorator
Browse files Browse the repository at this point in the history
PermissionDeniedBackendTest references User model.
  • Loading branch information
ptone committed Dec 1, 2012
1 parent 008e625 commit 84a5294
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions django/contrib/auth/tests/auth_backends.py
Expand Up @@ -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
Expand Down

0 comments on commit 84a5294

Please sign in to comment.