[1.8.x] Fixed a typo and formatting consistency in testing tools docs

I changed "appears" to "appear" and emphasized the word "not" to match
the rest of the document.

Backport of 0cf7477ed8 from master
This commit is contained in:
Adam Zapletal 2015-04-24 20:53:19 -05:00 committed by Baptiste Mispelon
parent 9e647ce86f
commit fc342bff94
1 changed files with 1 additions and 1 deletions

View File

@ -1404,7 +1404,7 @@ your test suite.
.. method:: SimpleTestCase.assertNotContains(response, text, status_code=200, msg_prefix='', html=False) .. method:: SimpleTestCase.assertNotContains(response, text, status_code=200, msg_prefix='', html=False)
Asserts that a ``Response`` instance produced the given ``status_code`` and Asserts that a ``Response`` instance produced the given ``status_code`` and
that ``text`` does not appears in the content of the response. that ``text`` does *not* appear in the content of the response.
Set ``html`` to ``True`` to handle ``text`` as HTML. The comparison with Set ``html`` to ``True`` to handle ``text`` as HTML. The comparison with
the response content will be based on HTML semantics instead of the response content will be based on HTML semantics instead of