mirror of
https://github.com/django/django.git
synced 2025-10-25 14:46:09 +00:00
Fixed typo assertNotContains() docstring.
This commit is contained in:
@@ -476,7 +476,7 @@ class SimpleTestCase(unittest.TestCase):
|
|||||||
"""
|
"""
|
||||||
Assert that a response indicates that some content was retrieved
|
Assert that a response indicates that some content was retrieved
|
||||||
successfully, (i.e., the HTTP status code was as expected) and that
|
successfully, (i.e., the HTTP status code was as expected) and that
|
||||||
``text`` doesn't occurs in the content of the response.
|
``text`` doesn't occur in the content of the response.
|
||||||
"""
|
"""
|
||||||
text_repr, real_count, msg_prefix = self._assert_contains(
|
text_repr, real_count, msg_prefix = self._assert_contains(
|
||||||
response, text, status_code, msg_prefix, html)
|
response, text, status_code, msg_prefix, html)
|
||||||
|
|||||||
Reference in New Issue
Block a user