diff --git a/docs/topics/testing/tools.txt b/docs/topics/testing/tools.txt index 9e3d2c4956..c2e844517a 100644 --- a/docs/topics/testing/tools.txt +++ b/docs/topics/testing/tools.txt @@ -1742,7 +1742,8 @@ your test suite. .. method:: SimpleTestCase.assertInHTML(needle, haystack, count=None, msg_prefix='') - Asserts that the HTML fragment ``needle`` is contained in the ``haystack`` one. + Asserts that the HTML fragment ``needle`` is contained in the ``haystack`` + once. If the ``count`` integer argument is specified, then additionally the number of ``needle`` occurrences will be strictly verified.