mirror of
https://github.com/django/django.git
synced 2025-03-29 02:30:48 +00:00
[4.1.x] Fixed typo in docs/topics/testing/tools.txt.
Backport of 6654289f5b350dfca3dc4f6abab777459b906756 from main
This commit is contained in:
parent
33c2dc8757
commit
088537710f
@ -1753,7 +1753,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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user