MCPcopy Create free account
hub / github.com/mpdavis/python-jose / test_invalid_jwe_is_parse_error

Method test_invalid_jwe_is_parse_error

tests/test_jwe.py:339–341  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

337 assert actual == b"Live long and prosper."
338
339 def test_invalid_jwe_is_parse_error(self):
340 with pytest.raises(JWEParseError):
341 jwe.decrypt("invalid", "key")
342
343 def test_non_json_header_is_parse_error(self):
344 jwe_str = (

Callers

nothing calls this directly

Calls 1

decryptMethod · 0.45

Tested by

no test coverage detected