From d89e4b909ade1f45d6614771ebbb350b7477e103 Mon Sep 17 00:00:00 2001 From: Henrik Levkowetz Date: Sat, 16 Jun 2007 16:25:59 +0000 Subject: [PATCH] Place redirect failure information on consecutive lines for better overview. - Legacy-Id: 437 --- ietf/tests.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ietf/tests.py b/ietf/tests.py index 71b02ce32..eea3070f2 100644 --- a/ietf/tests.py +++ b/ietf/tests.py @@ -172,7 +172,9 @@ class UrlTestCase(TestCase): print "OK %s %s -> %s" % (code, testurl, url) res = ("OK", code) else: - print "Miss %s %s ->\n %s (wanted %s)" % (code, testurl, response['Location'], url) + print "Miss %3s %s ->" % (code, testurl) + print " %s" % (response['Location']) + print " (wanted %s)" % (url) #res = ("Fail", "wrong-reponse") else: print "Fail %s %s" % (code, testurl)