Convert tesseract_badutf8 to plugin

This commit is contained in:
James R. Barlow
2020-06-05 16:38:19 -07:00
parent c6b2fa8851
commit ec3f506500
3 changed files with 63 additions and 85 deletions
-5
View File
@@ -33,11 +33,6 @@ run_ocrmypdf_api = pytest.helpers.run_ocrmypdf
spoof = pytest.helpers.spoof
@pytest.fixture
def spoof_tess_bad_utf8(tmp_path_factory):
return spoof(tmp_path_factory, tesseract='tesseract_badutf8.py')
def test_stdin(ocrmypdf_exec, resources, outpdf):
input_file = str(resources / 'francais.pdf')
output_file = str(outpdf)