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 060022f commit 03d6f59Copy full SHA for 03d6f59
oauth2_provider/tests/test_oauth2_validators.py
@@ -42,6 +42,8 @@ def test_extract_basic_auth(self):
42
self.assertIsNone(self.validator._extract_basic_auth(self.request))
43
self.request.headers = {'HTTP_AUTHORIZATION': 'Dummy 123456'}
44
45
+ self.request.headers = {'HTTP_AUTHORIZATION': 'Basic 123456 789'}
46
+ self.assertEqual(self.validator._extract_basic_auth(self.request), '123456 789')
47
48
def test_authenticate_client_id(self):
49
self.assertTrue(self.validator.authenticate_client_id('client_id', self.request))
0 commit comments