We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80b5393 commit 2387290Copy full SHA for 2387290
tests/test_oauth2_validators.py
@@ -501,9 +501,9 @@ def setUpTestData(cls):
501
cls.introspection_token = "test_introspection_token"
502
cls.validator = OAuth2Validator()
503
504
- def test_response_when_auth_server_response_return_404_405(self):
+ def test_response_when_auth_server_response_not_200(self):
505
"""
506
- Deal with either 404 or 405 response
+ Ensure we log the error when the authentication server returns a non-200 response.
507
508
with self.assertLogs(logger="oauth2_provider") as mock_log:
509
self.validator._get_token_from_authentication_server(
0 commit comments