Russell Keith-Magee 3b94af8a84 Modified some regression tests to make them independent of the default root urlconf. 14 سال پیش
..
__init__.py 0cffff024b 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. 16 سال پیش
models.py 5506653b77 Fixed #5416 -- Added TestCase.assertNumQueries, which tests that a given function executes the correct number of queries. 14 سال پیش
tests.py 3b94af8a84 Modified some regression tests to make them independent of the default root urlconf. 14 سال پیش
urls.py 3b94af8a84 Modified some regression tests to make them independent of the default root urlconf. 14 سال پیش
views.py 8308ad4f05 Fixed #14774 -- the test client and assertNumQueries didn't work well together. Thanks to Jonas Obrist for the initial patch. 14 سال پیش