aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-06-25 15:17:09 -0700
committerBryan Newbold <bnewbold@archive.org>2020-06-25 15:17:09 -0700
commit445532ac28519508713306e7ad4ab8524333a367 (patch)
tree94811d213b36417d8e1b4cc7108bab66ed4d34fc
parentf751f37a1328069b77ea8cf30c5de6ab00aca808 (diff)
downloadsandcrawler-445532ac28519508713306e7ad4ab8524333a367.tar.gz
sandcrawler-445532ac28519508713306e7ad4ab8524333a367.zip
fix tests for page0_height/width
-rw-r--r--python/tests/test_pdfextract.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/tests/test_pdfextract.py b/python/tests/test_pdfextract.py
index 2819d9f..2c54c85 100644
--- a/python/tests/test_pdfextract.py
+++ b/python/tests/test_pdfextract.py
@@ -28,8 +28,8 @@ def test_process_dummy_pdf():
print(resp.pdf_extra)
assert resp.pdf_info['Author'] == "Evangelos Vlachogiannis"
# 595 x 842
- assert resp.pdf_extra['height'] == 842
- assert resp.pdf_extra['width'] == 595
+ assert resp.pdf_extra['page0_height'] == 842
+ assert resp.pdf_extra['page0_width'] == 595
assert resp.pdf_extra['page_count'] == 1
def test_pdfextract_worker_cdx(wayback_client):