Make it possible to capture the complte agenda diff

- Legacy-Id: 698
This commit is contained in:
Henrik Levkowetz 2007-06-27 14:29:49 +00:00
parent 188a562114
commit 36df70dc67

View file

@ -361,9 +361,9 @@ class UrlTestCase(TestCase):
note("Failed diff: %s" % (url))
else:
note("Diff: %s" % (url))
print "\n".join(diff.split("\n")[:100])
if len(diff.split("\n")) > 100:
print "... (skipping %s lines of diff)" % (len(difflist)-100)
print "\n".join(diff.split("\n")[:120])
if len(diff.split("\n")) > 120:
print "... (skipping %s lines of diff)" % (len(difflist)-120)
else:
note("OK cmp %s" % (url))