{{{
AssertionError: '<?xml version="1.0" encoding="utf-8"?>\n<xliff
version=\'1.2\'\n xmlns=\' [truncated]... != '<?xml version="1.0"
encoding="utf-8"?>\n<xliff version=\'1.2\' xmlns=\'urn:oasi [truncated]...
}}}
It would be very nice to have output similar to assertHTMLEqual, with
markup differences highlighted like this:
{{{
AssertionError: <b>
Blue
</b>sky != <b>
Blue
</b>dye
<b>
Blue
- </b>sky
+ </b>dye
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25191>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* easy: 1 => 0
* needs_docs: => 0
* type: New feature => Cleanup/optimization
* stage: Unreviewed => Accepted
--
Ticket URL: <https://code.djangoproject.com/ticket/25191#comment:1>
* owner: nobody => caioariede
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/25191#comment:2>
Comment (by caioariede):
Pull request: https://github.com/django/django/pull/5086
--
Ticket URL: <https://code.djangoproject.com/ticket/25191#comment:3>
* has_patch: 0 => 1
* needs_tests: 0 => 1
Comment:
Don't forget to check "Has patch" so the ticket appears in the review
queue. Please uncheck "Needs tests" when updated, thanks.
--
Ticket URL: <https://code.djangoproject.com/ticket/25191#comment:4>
* needs_tests: 1 => 0
--
Ticket URL: <https://code.djangoproject.com/ticket/25191#comment:5>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/25191#comment:6>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"62d4074005f68328b240ab5f4fdfe348896717da" 62d4074]:
{{{
#!CommitTicketReference repository=""
revision="62d4074005f68328b240ab5f4fdfe348896717da"
Fixed #25191 -- Added string diff to SimpleTestCase.assertXMLEqual()
message.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/25191#comment:7>