mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-10 17:40:58 +00:00
Revert amazon test changes since they fixed their servers.
This commit is contained in:
parent
c5e6d9f6eb
commit
532a4cf4e9
1 changed files with 2 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue