#16921: Add assertHTMLEqual and related assert methods to TestCase
-------------------------------------+-------------------------------------
     Reporter:  carljm               |                    Owner:  nobody
         Type:  New feature          |                   Status:  new
    Milestone:                       |                Component:  Testing
      Version:  SVN                  |  framework
     Keywords:  form-rendering       |                 Severity:  Normal
    Has patch:  1                    |             Triage Stage:  Accepted
  Needs tests:  0                    |      Needs documentation:  0
Easy pickings:  0                    |  Patch needs improvement:  1
                                     |                    UI/UX:  0
-------------------------------------+-------------------------------------
 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

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16921>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to