Skip to content

Commit a23b272

Browse files
Nathanaël Renaud0xNath
Nathanaël Renaud
authored andcommitted
Fix test for form
1 parent a5b980b commit a23b272

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_images.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,10 +250,10 @@ def test_onlyoffice_form_images_extraction():
250250

251251
assert (
252252
str(reader.pages[0].images)
253-
== "[Image_0=/Pattern/P1/X1, Image_1=/Pattern/P2/X1]"
253+
== "[Image_0=/Annots/Image2_af_image/Img, Image_1=/Annots/Image3_af_image/Img]"
254254
)
255255

256-
assert str(reader.pages[1].images) == "[Image_0=/Pattern/P1/X1]"
256+
assert str(reader.pages[1].images) == "[Image_0=/Annots/Image4_af_image/Img]"
257257

258258
url = "https://github.com/py-pdf/pypdf/assets/67143274/cc28b39b-2e96-4bd3-b33c-c545c5cec2d9"
259259
name = "iss2613-P1_X1.jpg"

0 commit comments

Comments
 (0)