From 0d58a39376bd3090f5f69db7bc3dffc720ca5ea5 Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Wed, 4 Sep 2019 14:04:07 +0300 Subject: [PATCH] Fix failing test http://www.heise.de/ now does a redirect to HTTPS instead of denying our crawl via robots.txt. Fixes #269. --- tests/checker/test_http_misc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/checker/test_http_misc.py b/tests/checker/test_http_misc.py index c6b6afdb..19736a92 100644 --- a/tests/checker/test_http_misc.py +++ b/tests/checker/test_http_misc.py @@ -60,8 +60,8 @@ class TestHttpMisc (HttpServerTest): resultlines = [ u"url %s" % url, u"cache key %s" % rurl, - u"real url %s" % rurl, - u"info Access denied by robots.txt, checked only syntax.", + u"real url https://%s/" % host, + u"info Redirected to `https://%s/'." % host, u"warning URL %s has obfuscated IP address %s" % (url, ip), u"valid", ]