Skip to content

Commit

Permalink
Add width param to expected test output
Browse files Browse the repository at this point in the history
  • Loading branch information
bjorns committed Nov 21, 2023
1 parent b553b76 commit b7b7f5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test_package/unit/test_renderer.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def test_renderer_header_only_sets_first_title():
def test_renderer_image_external():
test_image_src = "http://example.com/image.jpg"
test_image_markup = (
'<ac:image ac:alt=""><ri:url ri:value="{}"></ri:url>\n'
'<ac:image ac:alt="" ac:width="764"><ri:url ri:value="{}"></ri:url>\n'
"</ac:image>\n".format(test_image_src)
)

Expand Down Expand Up @@ -236,7 +236,7 @@ def test_renderer_image_internal_absolute():
test_image_file = "image.jpg"
test_image_src = "/home/test/images/" + test_image_file
test_image_markup = (
'<ac:image ac:alt=""><ri:attachment ri:filename="{}"></ri:attachment>\n'
'<ac:image ac:alt="" ac:width="764"><ri:attachment ri:filename="{}"></ri:attachment>\n'
"</ac:image>\n".format(test_image_file)
)

Expand All @@ -250,7 +250,7 @@ def test_renderer_image_internal_relative():
test_image_file = "image.jpg"
test_image_src = "test/images/" + test_image_file
test_image_markup = (
'<ac:image ac:alt=""><ri:attachment ri:filename="{}"></ri:attachment>\n'
'<ac:image ac:alt="" ac:width="764"><ri:attachment ri:filename="{}"></ri:attachment>\n'
"</ac:image>\n".format(test_image_file)
)

Expand Down

0 comments on commit b7b7f5e

Please sign in to comment.