Skip to content

Commit ec05016

Browse files
committed
Added a test assertion in the case of a failed urltest diff, to have the
test noticed as failed. - Legacy-Id: 6441
1 parent 7d4b165 commit ec05016

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

ietf/utils/test_utils.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -217,8 +217,7 @@ def doDiff(self, tuple, response):
217217
if diff:
218218
print " Differences found:"
219219
print diff
220-
else:
221-
print " No differences found with %s" % master
220+
self.assertEquals(refhtml, testhtml)
222221

223222
def canonicalize_feed(s):
224223
# Django 0.96 handled time zone different -- ignore it for now

0 commit comments

Comments
 (0)