Adding a recognizable tag for the diffs, for use by the buildbot
- Legacy-Id: 291
This commit is contained in:
parent
341811e84e
commit
b6c7aed469
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue