id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 16921,Add assertHTMLEqual and related assert methods to TestCase,Carl Meyer,Gregor Müllegger,"This need came out of the form-rendering GSoC branch, due to a bunch of existing form rendering tests that test against HTML strings. Switching to template-based rendering would often cause spurious test failures due to irrelevant differences in HTML tag attribute ordering or whitespace. So in the branch we've added `assertHTMLEqual` and `assertHTMLNotEqual` methods, as well as a boolean ""html"" argument to `assertContains`. These additions can be committed separately from the rest of the branch, but need to be split out first. Most up-to-date code for the branch is at https://github.com/carljm/django/compare/master...soc2011%2Fform-rendering",New feature,closed,Testing framework,dev,Normal,fixed,form-rendering,,Accepted,1,0,0,0,0,0