Revert amazon test changes since they fixed their servers.

This commit is contained in:
Bastian Kleineidam 2010-11-06 13:43:18 +01:00
parent c5e6d9f6eb
commit 532a4cf4e9

View file

@ -29,15 +29,12 @@ class TestHttps (LinkCheckTest):
@need_network
def test_https (self):
url = u"https://www.amazon.de/"
rurl = u"http://www.amazon.de/b"
resultlines = [
u"url %s" % url,
u"cache key %s" % url,
u"real url %s" % rurl,
u"real url %s" % url,
u"info Amazon servers block HTTP HEAD requests.",
u"info Using GET method for Amazon server.",
u"info Redirected to `%s'." % rurl,
u"warning HTTP 301 (moved permanent) encountered: you should update this link.",
u"error",
u"valid",
]
self.direct(url, resultlines)