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:
parent
7d4b1656bb
commit
ec05016585
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue