django1/tests/regressiontests/test_utils
Claude Paroz 117e99511e Added assertXML[Not]Equal assertions
This is especially needed to compare XML when hash randomization
is on, as attribute order may vary. Refs #17758, #19038.
Thanks Taylor Mitchell for the initial patch, and Ian Clelland for
review and cleanup.
2012-10-06 13:14:50 +02:00
..
fixtures Added file forgotten in r16369. 2011-06-11 18:48:09 +00:00
templates/template_used Fixed #17604 - Added context-manager capability to assertTemplateUsed and assertTemplateNotUsed. Thanks Greg Müllegger. 2012-01-31 19:23:09 +00:00
__init__.py 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. 2008-07-19 14:46:55 +00:00
models.py Fixed #5416 -- Added TestCase.assertNumQueries, which tests that a given function executes the correct number of queries. 2010-10-12 03:33:19 +00:00
tests.py Added assertXML[Not]Equal assertions 2012-10-06 13:14:50 +02:00
urls.py Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00
views.py Convert the remainder of the relative imports in the tests to be absolute imports. 2011-10-13 21:34:56 +00:00