From c82fa2a665b94f74124256d49ce15a57812ef57f Mon Sep 17 00:00:00 2001 From: Sven van der Burg Date: Wed, 11 Aug 2021 08:51:36 +0200 Subject: [PATCH] Update error message in test Co-authored-by: Robin Richardson --- tests/test_java_wrapper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_java_wrapper.py b/tests/test_java_wrapper.py index da02168a..92e017da 100644 --- a/tests/test_java_wrapper.py +++ b/tests/test_java_wrapper.py @@ -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