diff options
| author | Tim Graham <timograham@gmail.com> | 2014-04-18 07:13:20 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2014-04-18 07:18:15 -0400 |
| commit | dc7bc42cce39f8141df40d831de9befb13946fef (patch) | |
| tree | 89e47116fdaeb7a5beb08a6f1f8dd4c72edaf543 /docs | |
| parent | 8394e570baf91cff5e5349c0ef06c4f06f06d0b1 (diff) | |
Added missing versionadded annotation and tweaked release note; refs #22465.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.8.txt | 4 | ||||
| -rw-r--r-- | docs/topics/testing/tools.txt | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index 9c8bb0c03e..e34017e363 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -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 ^^^^^^^^^^ diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 188da1bbaf..62e4605ba1 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -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. |
