Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added missing custom user skip decorator

PermissionDeniedBackendTest references User model.
  • Loading branch information...
commit 84a5294788eed87e042823f2e49900b6044e3b77 1 parent 008e625
@ptone ptone authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.