From 7ed60429b326e7c0c383e7e1e6d8fb435e7b44cb Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Sat, 5 Sep 2015 01:12:33 -0700 Subject: [PATCH] Test case: No longer using JHOVE So JHOVE will not claim this is an invalid PDF and we should see it reported as valid. --- tests/test_main.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/test_main.py b/tests/test_main.py index 0cee05ef..63247085 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -154,9 +154,7 @@ def test_override_metadata(): '--author', chinese, '--subject', high_unicode) - if p.returncode == ExitCode.invalid_output_pdfa: - print("Got invalid PDF return code, as expected - JHOVE bug") - assert p.returncode in (ExitCode.ok, ExitCode.invalid_output_pdfa) + assert p.returncode == ExitCode.ok pdf = output_file