diff --git a/tests/checker/test_https_redirect.py b/tests/checker/test_https_redirect.py index 2da8dd0a..599bbae8 100644 --- a/tests/checker/test_https_redirect.py +++ b/tests/checker/test_https_redirect.py @@ -35,7 +35,7 @@ class TestHttpsRedirect (HttpServerTest): u"cache key %s" % nurl, u"real url %s" % url, u"info Redirected to `%s'." % rurl.replace('http:', 'https:'), - u"warning Redirection to URL `%s' with different scheme found; the original URL was `%s'." % (nurl, rurl), + u"warning Redirection to URL `%s' with different scheme found; the original URL was `%s'." % (rurl.replace('http:', 'https:'), nurl), u"valid", u"url %s" % rurl, u"cache key %s" % rurl,