Fix tests with new example.com redirect.

This commit is contained in:
Bastian Kleineidam 2011-02-08 21:30:42 +01:00
parent bb6797254d
commit f11dcdf09f
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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)