mirror of
https://github.com/django/django.git
synced 2025-08-01 17:42:56 +00:00
Fixed #7441 - Improved the doctest OutputChecker to be more lenient with JSON an XML outputs. This is required so that output ordering that doesn't matter at a semantic level (such as the order of keys in a JSON dictionary, or attributes in an XML element) isn't caught as a test failure. Thanks to Leo Soto for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7981 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
c819252bf5
commit
0cffff024b
4 changed files with 195 additions and 11 deletions
0
tests/regressiontests/test_utils/models.py
Normal file
0
tests/regressiontests/test_utils/models.py
Normal file
Loading…
Add table
Add a link
Reference in a new issue