SimpleTestCase.assertHTMLNotEqual(html1, html2, msg=None)
[source]
Asserts that the strings html1
and html2
are not equal. The comparison is based on HTML semantics. See assertHTMLEqual()
for details.
html1
and html2
must be valid HTML. An AssertionError
will be raised if one of them cannot be parsed.
Output in case of error can be customized with the msg
argument.
Please login to continue.