Fixed typo in testcases module.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@7032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
755278253e
commit
80f5cafbc4
|
@ -108,7 +108,7 @@ class TestCase(unittest.TestCase):
|
|||
|
||||
def assertContains(self, response, text, count=None, status_code=200):
|
||||
"""
|
||||
Asserts that a response indicates that a page was retreived
|
||||
Asserts that a response indicates that a page was retrieved
|
||||
successfully, (i.e., the HTTP status code was as expected), and that
|
||||
``text`` occurs ``count`` times in the content of the response.
|
||||
If ``count`` is None, the count doesn't matter - the assertion is true
|
||||
|
|
Loading…
Reference in New Issue