From 445532ac28519508713306e7ad4ab8524333a367 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 25 Jun 2020 15:17:09 -0700 Subject: fix tests for page0_height/width --- python/tests/test_pdfextract.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/tests') 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): -- cgit v1.2.3