tests: mark test as requiring pngquant

This commit is contained in:
James R. Barlow
2019-08-11 16:58:22 -07:00
parent b241f66919
commit 793348a47c
+1
View File
@@ -55,6 +55,7 @@ def test_mono_not_inverted(resources, outdir):
assert im.getpixel((0, 0)) == 255, "Expected white background"
@pytest.mark.skipif(not pngquant.available(), reason='need pngquant')
def test_jpg_png_params(resources, outpdf, spoof_tesseract_noop):
check_ocrmypdf(
resources / 'crom.png',