Skip to content

Commit

Permalink
Update error message in test
Browse files Browse the repository at this point in the history
Co-authored-by: Robin Richardson <[email protected]>
  • Loading branch information
svenvanderburg and raar1 authored Aug 11, 2021
1 parent 60a87d4 commit c82fa2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_java_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def test_sign_fails_on_already_signed_publication(tmp_path):
shutil.copy(NANOPUB_SAMPLE_SIGNED, temp_signed_file)
with pytest.raises(RuntimeError) as e:
java_wrapper.sign(unsigned_file=temp_signed_file)
assert 'The Publication you try to publish already has a signature' in str(e.value)
assert 'The Publication you are trying to publish already has a signature' in str(e.value)


@pytest.mark.no_rsa_key
Expand Down

0 comments on commit c82fa2a

Please sign in to comment.