1
0
mirror of https://github.com/django/django.git synced 2025-03-13 10:50:55 +00:00

Fixed typo in docs/topics/testing/tools.txt.

This commit is contained in:
rharri 2022-07-29 02:20:31 -04:00 committed by Mariusz Felisiak
parent 564437f767
commit 6654289f5b

View File

@ -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.