mirror of https://github.com/django/django.git
Added missing versionadded annotation and tweaked release note; refs #22465.
This commit is contained in:
parent
8394e570ba
commit
dc7bc42cce
|
@ -155,8 +155,8 @@ 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.
|
||||
* The new :meth:`~django.test.SimpleTestCase.assertJSONNotEqual` assertion
|
||||
allows you to test that two JSON fragments are not equal.
|
||||
|
||||
Validators
|
||||
^^^^^^^^^^
|
||||
|
|
|
@ -1460,6 +1460,8 @@ your test suite.
|
|||
|
||||
.. method:: SimpleTestCase.assertJSONNotEqual(raw, expected_data, msg=None)
|
||||
|
||||
.. versionadded:: 1.8
|
||||
|
||||
Asserts that the JSON fragments ``raw`` and ``expected_data`` are *not* equal.
|
||||
See :meth:`~SimpleTestCase.assertJSONEqual` for further details.
|
||||
|
||||
|
|
Loading…
Reference in New Issue