forked from github.com/pypiserver
test that /favicon.ico doesn't redirect and returns a 404
This commit is contained in:
parent
baa2936217
commit
ee3c545932
@ -48,3 +48,12 @@ def test_packages_empty(root):
|
||||
show()
|
||||
code(200)
|
||||
assert list(showlinks()) == []
|
||||
|
||||
|
||||
def test_favicon(root):
|
||||
final_url = go("/favicon.ico")
|
||||
show()
|
||||
print "FINAL_URL:", final_url
|
||||
assert final_url == "http://localhost:8080/favicon.ico"
|
||||
code(404)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user