MCPcopy
hub / github.com/django/django / test_ignore_comments

Method test_ignore_comments

tests/test_utils/tests.py:767–771  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

765 self.assertHTMLEqual("<p>Hello</p>World", "<p>Hello</p> World")
766
767 def test_ignore_comments(self):
768 self.assertHTMLEqual(
769 "<div>Hello<!-- this is a comment --> World!</div>",
770 "<div>Hello World!</div>",
771 )
772
773 def test_unequal_html(self):
774 self.assertHTMLNotEqual("<p>Hello</p>", "<p>Hello!</p>")

Callers

nothing calls this directly

Calls 1

assertHTMLEqualMethod · 0.80

Tested by

no test coverage detected