#31378: Support bytes in assertXMLEqual()/assertXMLNotEqual().
-----------------------------------+--------------------------------------
     Reporter:  Joe Germuska       |                    Owner:  nobody
         Type:  New feature        |                   Status:  closed
    Component:  Testing framework  |                  Version:  master
     Severity:  Normal             |               Resolution:  wontfix
     Keywords:                     |             Triage Stage:  Unreviewed
    Has patch:  0                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+--------------------------------------
Changes (by felixxm):

 * status:  new => closed
 * type:  Uncategorized => New feature
 * resolution:   => wontfix


Comment:

 It's
 
[https://docs.djangoproject.com/en/3.0/topics/testing/tools/#django.test.SimpleTestCase.assertXMLEqual
 documented] that `assertXMLEqual()` and `assertXMLNotEqual()` accept
 strings. I don't think we would like to complicate these methods, you can
 always use `response.content.decode()` (as you've already pointed out).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31378#comment:2>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.c55750d6bf359e7bde866b6b86e5f13f%40djangoproject.com.

Reply via email to