diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-10-30 15:18:32 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-10-30 15:18:32 -0700 |
commit | a8387ac21bf6f9693cef24f9ef39482b9337f3af (patch) | |
tree | 15d725b85c2464f218281be7e57ab5f73ced4b56 /python/tests | |
parent | d5aa7960d40261fa0a10be4ad6fbdbfc9cc4b3af (diff) | |
download | sandcrawler-a8387ac21bf6f9693cef24f9ef39482b9337f3af.tar.gz sandcrawler-a8387ac21bf6f9693cef24f9ef39482b9337f3af.zip |
tests: fix conditional on poppler version check
Diffstat (limited to 'python/tests')
-rw-r--r-- | python/tests/test_pdfextract.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/test_pdfextract.py b/python/tests/test_pdfextract.py index 64e3137..255e3fb 100644 --- a/python/tests/test_pdfextract.py +++ b/python/tests/test_pdfextract.py @@ -21,7 +21,7 @@ def test_process_fake_pdf(): resp = process_pdf(pdf_bytes) assert resp.status == 'not-pdf' -@pytest.mark.skipif(poppler.__version__ == '0.2.1', reason="unsupported version of poppler") +@pytest.mark.skipif(poppler.version_string() == '0.71.0', reason="unsupported version of poppler") def test_process_dummy_pdf(): with open('tests/files/dummy.pdf', 'rb') as f: pdf_bytes = f.read() |