Skip to content

Commit 0890b06

Browse files
TST: Add test for inline images (#758)
Credits to Sebastian Krause for creating the PDF: #331 (comment) Co-authored-by: Sebastian Krause <sebastian@realpath.org>
1 parent 29194cd commit 0890b06

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Resources/reportlab-inline-image.pdf

1.5 KB
Binary file not shown.

Tests/test_page.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
),
2222
(os.path.join(RESOURCE_ROOT, "imagemagick-images.pdf"), None),
2323
(os.path.join(RESOURCE_ROOT, "imagemagick-lzw.pdf"), None),
24+
(os.path.join(RESOURCE_ROOT, "reportlab-inline-image.pdf"), None),
2425
],
2526
ids=[
2627
"crazyones",
@@ -29,6 +30,7 @@
2930
"libreoffice-writer-password",
3031
"imagemagick-images",
3132
"imagemagick-lzw",
33+
"reportlab-inline-image"
3234
],
3335
)
3436
def test_page_operations(pdf_path, password):

0 commit comments

Comments
 (0)