diff --git a/tests/test_idty_tools.py b/tests/test_idty_tools.py index 3769eee94c63da3aff19a545b22b0247c4b6123f..5a8591dac9538b2a20c515c81285c979944f446d 100644 --- a/tests/test_idty_tools.py +++ b/tests/test_idty_tools.py @@ -33,6 +33,7 @@ from patched.idty_tools import ( ) from silkaj import idty_tools from silkaj.constants import ALL, PUBKEY_PATTERN +from silkaj.tui import display_pubkey_and_checksum ## used test identities @@ -351,7 +352,7 @@ def test_display_identity(idty, monkeypatch, capsys): None, None, [ - "Revocation document does not match any valid identity. Error: HTTP Error 404: Not Found TEST" + f"Revocation document does not match any valid identity.\nuid: {idty1.uid}\npubkey: {display_pubkey_and_checksum(idty1.pubkey)}" ], False, ), @@ -384,7 +385,7 @@ def test_check_many_identities( # identity does not exist if expected == [ - "Revocation document does not match any valid identity. Error: HTTP Error 404: Not Found TEST" + f"Revocation document does not match any valid identity.\nuid: {idty.uid}\npubkey: {display_pubkey_and_checksum(idty.pubkey)}" ]: with pytest.raises(SystemExit) as pytest_exit: result = idty_tools.check_many_identities(idty, doc_type)