1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #22465 -- New assertion assertJSONNotEqual

This commit is contained in:
amatellanes
2014-04-17 11:44:30 +02:00
committed by Loic Bistuer
parent 9bc377d7d0
commit 8394e570ba
4 changed files with 77 additions and 0 deletions

View File

@@ -155,6 +155,9 @@ Tests
:meth:`~django.test.SimpleTestCase.assertTemplateUsed`. This allows you to
assert that a template was rendered a specific number of times.
* :meth:`~django.test.SimpleTestCase.assertJSONNotEqual` new assertion allow
you to test that two JSON fragments are not equal.
Validators
^^^^^^^^^^