Fix some failing tests after --redo-ocr changes

This commit is contained in:
James R. Barlow
2018-10-29 11:49:38 -07:00
parent 8e396f4be2
commit de80fb6bc8
3 changed files with 35 additions and 10 deletions
+1 -1
View File
@@ -377,7 +377,7 @@ def test_tesseract_image_too_big(renderer, spoof_tesseract_big_image_error,
def test_algo4(resources, spoof_tesseract_noop, outpdf):
p, _, _ = run_ocrmypdf(resources / 'encrypted_algo4.pdf', outpdf,
env=spoof_tesseract_noop)
assert p.returncode == ExitCode.ok
assert p.returncode == ExitCode.encrypted_pdf
@pytest.mark.parametrize('renderer', RENDERERS)