mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-20 14:20:59 +00:00
Fix tests with new example.com redirect.
This commit is contained in:
parent
bb6797254d
commit
f11dcdf09f
2 changed files with 4 additions and 2 deletions
|
|
@ -5,7 +5,8 @@ valid
|
|||
|
||||
url redirect_newhost.html
|
||||
cache key http://localhost:8001/%(datadir)s/redirect_newhost.html
|
||||
real url http://www.example.com/
|
||||
real url http://www.iana.org/domains/example/
|
||||
name redirect to new host
|
||||
info Redirected to `http://www.example.com/'.
|
||||
info Redirected to `http://www.iana.org/domains/example/'.
|
||||
valid
|
||||
|
|
|
|||
|
|
@ -133,7 +133,8 @@ class TestHttp (HttpServerTest):
|
|||
u"valid",
|
||||
u"url http://www.example.org/",
|
||||
u"cache key http://www.example.org/",
|
||||
u"real url http://www.example.org/",
|
||||
u"real url http://www.iana.org/domains/example/",
|
||||
u"info Redirected to `http://www.iana.org/domains/example/'.",
|
||||
u"valid",
|
||||
]
|
||||
self.direct(url, resultlines, recursionlevel=1)
|
||||
|
|
|
|||
Loading…
Reference in a new issue