mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-18 21:31:00 +00:00
Fix tests
This commit is contained in:
parent
4de5348b9d
commit
88c060699d
2 changed files with 4 additions and 4 deletions
|
|
@ -29,13 +29,13 @@ class TestHttps (LinkCheckTest):
|
|||
@need_network
|
||||
def test_https (self):
|
||||
url = u"https://www.amazon.com/"
|
||||
rurl = u"http://www.amazon.com/"
|
||||
rurl = u"https://www.amazon.com/"
|
||||
resultlines = [
|
||||
u"url %s" % url,
|
||||
u"cache key %s" % url,
|
||||
u"real url %s" % rurl,
|
||||
#u"info SSL cipher RC4-SHA, TLSv1/SSLv3.",
|
||||
u"info Redirected to `%s'." % rurl,
|
||||
u"info Access denied by robots.txt, checked only syntax.",
|
||||
u"valid",
|
||||
]
|
||||
confargs = dict(
|
||||
|
|
|
|||
|
|
@ -73,12 +73,12 @@ class TestMailGood (MailTest):
|
|||
u"valid",
|
||||
]
|
||||
self.direct(url, resultlines)
|
||||
url = self.norm(u"mailto:news-admins@freecode.com?subject="
|
||||
url = self.norm(u"mailto:news-admins@freshcode.club?subject="
|
||||
"Re:%20[fm%20#11093]%20(news-admins)%20Submission%20"
|
||||
"report%20-%20Pretty%20CoLoRs")
|
||||
resultlines = [
|
||||
u"url %s" % url,
|
||||
u"cache key mailto:news-admins@freecode.com",
|
||||
u"cache key mailto:news-admins@freshcode.club",
|
||||
u"real url %s" % url,
|
||||
u"valid",
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue