Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MWedl committed Feb 14, 2024
1 parent 4b52339 commit 81f05db
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions api/src/reportcreator_api/tests/test_rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ def test_lof_rendering(self):
</ul>
</section>
</list-of-figures>
<figure><img src="/assets/name/image.png" /><figcaption id="fig1">caption1</figcaption></figure>
<figure><img src="/assets/name/image.png" /><figcaption id="fig2">caption2</figcaption></figure>
<figure><img src="/assets/name/image.png" /><figcaption id="fig3">caption3</figcaption></figure>
<figure id="fig1"><img src="/assets/name/image.png" /><figcaption>caption1</figcaption></figure>
<figure id="fig2"><img src="/assets/name/image.png" /><figcaption>caption2</figcaption></figure>
<figure id="fig3"><img src="/assets/name/image.png" /><figcaption>caption3</figcaption></figure>
""")
assertHTMLEqual(self.extract_html_part(html, '<ul>', '</ul>'), """
<ul>
Expand All @@ -286,8 +286,8 @@ def test_lot_rendering(self):
</ul>
</section>
</list-of-tables>
<table><caption id="table1">caption1</caption></table>
<table><caption id="table2">caption2</caption></table>
<table id="table1"><caption>caption1</caption></table>
<table id="table2"><caption>caption2</caption></table>
""")
assertHTMLEqual(self.extract_html_part(html, '<ul>', '</ul>'), """
<ul>
Expand Down

0 comments on commit 81f05db

Please sign in to comment.