summaryrefslogtreecommitdiff
path: root/tests/regressiontests/test_utils/models.py
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2008-07-19 14:46:55 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2008-07-19 14:46:55 +0000
commit0cffff024bde801620a1fae6ffe9f8e02be6f0ca (patch)
tree7aebeeff307b1e44354b57635252695ae4e9d9ce /tests/regressiontests/test_utils/models.py
parentc819252bf5e590b9bf66eb71d42938bb1ade2072 (diff)
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
Diffstat (limited to 'tests/regressiontests/test_utils/models.py')
-rw-r--r--tests/regressiontests/test_utils/models.py0
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/regressiontests/test_utils/models.py b/tests/regressiontests/test_utils/models.py
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/tests/regressiontests/test_utils/models.py