From 1257419465c04de4a3c54924bdcde38ca0f7dce3 Mon Sep 17 00:00:00 2001 From: "James R. Barlow" Date: Mon, 22 Jun 2020 16:31:06 -0700 Subject: [PATCH] test_hocrtransform: this test is worth not caching --- tests/test_hocrtransform.py | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/tests/test_hocrtransform.py b/tests/test_hocrtransform.py index cf128a52..f4b0a1a1 100644 --- a/tests/test_hocrtransform.py +++ b/tests/test_hocrtransform.py @@ -71,19 +71,9 @@ def test_mono_image(blank_hocr, outdir): def test_hocrtransform_matches_sandwich(resources, outdir): + check_ocrmypdf(resources / 'ccitt.pdf', outdir / 'hocr.pdf', '--pdf-renderer=hocr') check_ocrmypdf( - resources / 'ccitt.pdf', - outdir / 'hocr.pdf', - '--pdf-renderer=hocr', - # '--plugin', - # 'tests/plugins/tesseract_cache.py', - ) - check_ocrmypdf( - resources / 'ccitt.pdf', - outdir / 'tess.pdf', - '--pdf-renderer=sandwich', - # '--plugin', - # 'tests/plugins/tesseract_cache.py', + resources / 'ccitt.pdf', outdir / 'tess.pdf', '--pdf-renderer=sandwich' ) def clean(s):