Loading django/test/testcases.py +1 −1 Original line number Diff line number Diff line Loading @@ -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 Loading
django/test/testcases.py +1 −1 Original line number Diff line number Diff line Loading @@ -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