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