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:
Gary Wilson Jr 2008-01-28 02:15:00 +00:00
parent 755278253e
commit 80f5cafbc4
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ class TestCase(unittest.TestCase):
def assertContains(self, response, text, count=None, status_code=200): 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 successfully, (i.e., the HTTP status code was as expected), and that
``text`` occurs ``count`` times in the content of the response. ``text`` occurs ``count`` times in the content of the response.
If ``count`` is None, the count doesn't matter - the assertion is true If ``count`` is None, the count doesn't matter - the assertion is true