Added a test assertion in the case of a failed urltest diff, to have the

test noticed as failed.
 - Legacy-Id: 6441
This commit is contained in:
Henrik Levkowetz 2013-10-13 21:12:23 +00:00
parent 7d4b1656bb
commit ec05016585

View file

@ -217,8 +217,7 @@ class SimpleUrlTestCase(django.test.TestCase,RealDatabaseTest):
if diff:
print " Differences found:"
print diff
else:
print " No differences found with %s" % master
self.assertEquals(refhtml, testhtml)
def canonicalize_feed(s):
# Django 0.96 handled time zone different -- ignore it for now