Found out this test was extremely slow - no reason to actual use a large file

This commit is contained in:
James R. Barlow
2018-05-24 22:22:51 -07:00
parent 16f70ff054
commit 68d8642988
+2 -2
View File
@@ -220,8 +220,8 @@ def test_ocr_timeout(renderer, resources, outpdf):
def test_skip_big(spoof_tesseract_cache, resources, outpdf):
out = check_ocrmypdf(resources / 'enormous.pdf', outpdf,
'--skip-big', '10', env=spoof_tesseract_cache)
out = check_ocrmypdf(resources / 'jbig2.pdf', outpdf,
'--skip-big', '1', env=spoof_tesseract_cache)
pdfinfo = PdfInfo(out)
assert not pdfinfo[0].has_text