Skip to content
Snippets Groups Projects
test_revocation.py 28.4 KiB
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()