diff options
| author | Adam Zapletal <adamzap@gmail.com> | 2015-04-24 20:53:19 -0500 |
|---|---|---|
| committer | Baptiste Mispelon <bmispelon@gmail.com> | 2015-04-25 12:24:54 +0200 |
| commit | fc342bff94c720e9f12c3a3214e265269e29dfd5 (patch) | |
| tree | 31f17d4342c7b32f110851973935d52ffca371b1 | |
| parent | 9e647ce86f8485ee281820f850f43680c835cb80 (diff) | |
[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 0cf7477ed839517e203e4b5aad414707cb401d30 from master
| -rw-r--r-- | docs/topics/testing/tools.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 065c2a110e..3a15613bff 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1404,7 +1404,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 |
