Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
tmakruck committed Oct 18, 2023
1 parent 84388fd commit 14d3e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ def test_nonexisting_user(self):
from django_auth_adfs.config import django_settings
settings = deepcopy(django_settings)
settings.AUTH_ADFS["CREATE_NEW_USERS"] = False
with patch("django_auth_adfs.config.django_settings", settings),\
with patch("django_auth_adfs.config.django_settings", settings), \
patch("django_auth_adfs.backend.settings", Settings()):
backend = AdfsAuthCodeBackend()
self.assertRaises(PermissionDenied, backend.authenticate, self.request, authorization_code='testcode')

0 comments on commit 14d3e99

Please sign in to comment.