Skip to content

Commit cb35cc4

Browse files
test(auth): use concise IDs for malformed JWKS cases
1 parent 539af1f commit cb35cc4

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎tests/functional/auth_alpha/jwt/test_jwks_cache.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ def test_invalid_discovery_never_falls_back_or_fetches_untrusted_keys(http, issu
138138
@pytest.mark.parametrize(
139139
"body",
140140
[{}, {"keys": None}, {"keys": ["bad-key"]}, [], None, b"not json", b"x" * (1024 * 1024 + 1)],
141+
ids=["missing-keys", "null-keys", "malformed-key", "array", "null", "invalid-json", "oversized"],
141142
)
142143
def test_malformed_key_sets_fail_closed(http, issue_token, body):
143144
http.serve(JWKS_URL, body)

0 commit comments

Comments
 (0)