summaryrefslogtreecommitdiff
path: root/tests/regressiontests/test_utils
AgeCommit message (Collapse)Author
2008-07-20Made the test case for doctest comparison of XML fragments a little more ↵Russell Keith-Magee
rigorous. Refs #7441. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-20Fixed #7441 -- Removed some of the shortcuts in the doctest output ↵Russell Keith-Magee
comparators, and added a wrapper to allow comparison of xml fragments. Thanks to Leo Soto for the report and fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-19Fixed #7441 - Improved the doctest OutputChecker to be more lenient with ↵Russell Keith-Magee
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