MCPcopy
hub / github.com/authlib/authlib / test_not_enough_segments

Function test_not_enough_segments

tests/jose/test_jwe.py:26–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25
26def test_not_enough_segments():
27 s = "a.b.c"
28 jwe = JsonWebEncryption()
29 with pytest.raises(errors.DecodeError):
30 jwe.deserialize_compact(s, None)
31
32
33def test_invalid_header():

Callers

nothing calls this directly

Calls 2

deserialize_compactMethod · 0.95
JsonWebEncryptionClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…