Newer
Older
"is not a revocation document, or is not correctly formatted."
in pytest_exit.value.code
)
elif isinstance(doc, Revocation):
assert (
pytest_exit.value.code
== "Error: the signature of the revocation document is invalid."
)
patched_lookup.assert_not_called()