Adding a recognizable tag for the diffs, for use by the buildbot

- Legacy-Id: 291
This commit is contained in:
Henrik Levkowetz 2007-06-10 16:40:55 +00:00
parent 341811e84e
commit b6c7aed469

View file

@ -138,6 +138,7 @@ class UrlTestCase(TestCase):
testtext = reduce(response.content)
goodtext = reduce(goodhtml)
if not testtext == goodtext:
print "Diff: %s" % (url)
for line in unified_diff(goodtext, testtext, url, master, lineterm=False):
print line
except urllib.URLError, e: