summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorkamenev <alexander.i.kamenev@gmail.com>2021-11-13 23:08:49 +0300
committerAsif Saif Uddin <auvipy@gmail.com>2021-11-14 14:02:55 +0600
commitf6710113fdba6efe3710efdc2e26a08398509cb2 (patch)
tree4dbad543b1e3b00480f04372b2cca5051213984d /tests
parentff24e70db077639bfdfe76e9d9bb333af27f9912 (diff)
downloadoauthlib-f6710113fdba6efe3710efdc2e26a08398509cb2.tar.gz
rm comma after Bearer in WWW-Authenticate header
Diffstat (limited to 'tests')
-rw-r--r--tests/oauth2/rfc6749/endpoints/test_introspect_endpoint.py4
-rw-r--r--tests/oauth2/rfc6749/endpoints/test_revocation_endpoint.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/oauth2/rfc6749/endpoints/test_introspect_endpoint.py b/tests/oauth2/rfc6749/endpoints/test_introspect_endpoint.py
index 04df6a2..6d3d119 100644
--- a/tests/oauth2/rfc6749/endpoints/test_introspect_endpoint.py
+++ b/tests/oauth2/rfc6749/endpoints/test_introspect_endpoint.py
@@ -87,7 +87,7 @@ class IntrospectEndpointTest(TestCase):
'Content-Type': 'application/json',
'Cache-Control': 'no-store',
'Pragma': 'no-cache',
- "WWW-Authenticate": 'Bearer, error="invalid_client"'
+ "WWW-Authenticate": 'Bearer error="invalid_client"'
})
self.assertEqual(loads(b)['error'], 'invalid_client')
self.assertEqual(s, 401)
@@ -115,7 +115,7 @@ class IntrospectEndpointTest(TestCase):
'Content-Type': 'application/json',
'Cache-Control': 'no-store',
'Pragma': 'no-cache',
- "WWW-Authenticate": 'Bearer, error="invalid_client"'
+ "WWW-Authenticate": 'Bearer error="invalid_client"'
})
self.assertEqual(loads(b)['error'], 'invalid_client')
self.assertEqual(s, 401)
diff --git a/tests/oauth2/rfc6749/endpoints/test_revocation_endpoint.py b/tests/oauth2/rfc6749/endpoints/test_revocation_endpoint.py
index a4182eb..338dbd9 100644
--- a/tests/oauth2/rfc6749/endpoints/test_revocation_endpoint.py
+++ b/tests/oauth2/rfc6749/endpoints/test_revocation_endpoint.py
@@ -55,7 +55,7 @@ class RevocationEndpointTest(TestCase):
'Content-Type': 'application/json',
'Cache-Control': 'no-store',
'Pragma': 'no-cache',
- "WWW-Authenticate": 'Bearer, error="invalid_client"'
+ "WWW-Authenticate": 'Bearer error="invalid_client"'
})
self.assertEqual(loads(b)['error'], 'invalid_client')
self.assertEqual(s, 401)
@@ -83,7 +83,7 @@ class RevocationEndpointTest(TestCase):
'Content-Type': 'application/json',
'Cache-Control': 'no-store',
'Pragma': 'no-cache',
- "WWW-Authenticate": 'Bearer, error="invalid_client"'
+ "WWW-Authenticate": 'Bearer error="invalid_client"'
})
self.assertEqual(loads(b)['error'], 'invalid_client')
self.assertEqual(s, 401)