mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
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.
This commit is contained in:
parent
76d26d8922
commit
0cf7477ed8
1 changed files with 1 additions and 1 deletions
|
@ -1362,7 +1362,7 @@ your test suite.
|
|||
.. method:: SimpleTestCase.assertNotContains(response, text, status_code=200, msg_prefix='', html=False)
|
||||
|
||||
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
|
||||
the response content will be based on HTML semantics instead of
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue