Skip to content
This repository was archived by the owner on Jun 12, 2021. It is now read-only.

Commit 8edb984

Browse files
committed
Fixed no_auth test.
1 parent 95a35bb commit 8edb984

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_31_introspection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ def _create_at(self, uid, lifetime=0, with_jti=False):
202202

203203
def test_parse_no_authn(self):
204204
_token = self._create_at("diana")
205-
with pytest.raises(UnknownOrNoAuthnMethod):
205+
with pytest.raises(UnAuthorizedClient):
206206
self.introspection_endpoint.parse_request({"token": _token})
207207

208208
def test_parse_with_client_auth_in_req(self):

0 commit comments

Comments
 (0)