MCPcopy Create free account
hub / github.com/authlib/authlib / test_has_code_challenge

Function test_has_code_challenge

tests/flask/test_oauth2/test_code_challenge.py:56–60  ·  view source on GitHub ↗
(test_client)

Source from the content-addressed store, hash-verified

54
55
56def test_has_code_challenge(test_client):
57 rv = test_client.get(
58 authorize_url + "&code_challenge=Zhs2POMonIVVHZteWfoU7cSXQSm0YjghikFGJSDI2_s"
59 )
60 assert rv.data == b"ok"
61
62
63def test_invalid_code_challenge(test_client):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected