From ec05016585efcfb683a08b827f5a8119161a1e90 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Sun, 13 Oct 2013 21:12:23 +0000 Subject: [PATCH] Added a test assertion in the case of a failed urltest diff, to have the test noticed as failed. - Legacy-Id: 6441 --- ietf/utils/test_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ietf/utils/test_utils.py b/ietf/utils/test_utils.py index 651e0e3a5..a82269b86 100644 --- a/ietf/utils/test_utils.py +++ b/ietf/utils/test_utils.py @@ -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