Changeset 5858
- Timestamp:
- 08/11/07 21:14:52 (1 year ago)
- Files:
-
- django/trunk/django/test/testcases.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/django/test/testcases.py
r5739 r5858 89 89 "Found %d instances of '%s' in response (expected %d)" % (real_count, text, count)) 90 90 else: 91 self. assertTrue(real_count != 0, "Couldn't find '%s' in response" % text)91 self.failUnless(real_count != 0, "Couldn't find '%s' in response" % text) 92 92 93 93 def assertFormError(self, response, form, field, errors):
