Skip to content

Commit

Permalink
TST: Add test for inline images (#758)
Browse files Browse the repository at this point in the history
Credits to Sebastian Krause for creating the PDF:
#331 (comment)

Co-authored-by: Sebastian Krause <[email protected]>
  • Loading branch information
MartinThoma and sekrause authored Apr 15, 2022
1 parent 29194cd commit 0890b06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file added Resources/reportlab-inline-image.pdf
Binary file not shown.
2 changes: 2 additions & 0 deletions Tests/test_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
),
(os.path.join(RESOURCE_ROOT, "imagemagick-images.pdf"), None),
(os.path.join(RESOURCE_ROOT, "imagemagick-lzw.pdf"), None),
(os.path.join(RESOURCE_ROOT, "reportlab-inline-image.pdf"), None),
],
ids=[
"crazyones",
Expand All @@ -29,6 +30,7 @@
"libreoffice-writer-password",
"imagemagick-images",
"imagemagick-lzw",
"reportlab-inline-image"
],
)
def test_page_operations(pdf_path, password):
Expand Down

0 comments on commit 0890b06

Please sign in to comment.