def assert_html_not_equal(a_html, b_html): assert not html_equal(a_html, b_html), ( u'These html documents should not be equal:\n%r\n====\n%r' % ( a_html, b_html, ) )
def assert_html_equal(a_html, b_html): assert html_equal(a_html, b_html), ( u'These html documents are not equal:\n%r\n====\n%r' % ( a_html, b_html, ) )