Skip to content

Commit 994be0c

Browse files
committed
Fix test coverage
1 parent de14b6c commit 994be0c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/engines/test_engines_string_compat.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ def test_parse_html(self):
2020
S.render(S.parse_html("<p><span>Test text</span></p>")),
2121
"<p><span>Test text</span></p>",
2222
)
23+
# There for test coverage only.
24+
self.assertEqual(
25+
S.render_debug(S.parse_html("<p><span>Test text</span></p>")),
26+
"<p><span>Test text</span></p>",
27+
)
2328

2429
def test_append_child(self):
2530
parent = S.create_tag("p")
@@ -81,3 +86,8 @@ def test_render_debug(self):
8186
S.render_debug(S.create_tag("p", {"class": "intro"})),
8287
'<p class="intro"></p>',
8388
)
89+
# There for test coverage only.
90+
self.assertEqual(
91+
S.render_debug(S.create_tag("img", {"class": "intro"})),
92+
'<img class="intro"/>',
93+
)

0 commit comments

Comments
 (0)