Changeset 5739
- Timestamp:
- 07/20/07 23:36:28 (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
r5731 r5739 85 85 (response.status_code, status_code)) 86 86 real_count = response.content.count(text) 87 if count :87 if count is not None: 88 88 self.assertEqual(real_count, count, 89 89 "Found %d instances of '%s' in response (expected %d)" % (real_count, text, count))
