New, improved favicon - refs #1603

This commit is contained in:
Simon Willison 2022-01-19 21:46:03 -08:00
commit 0467723ee5
3 changed files with 13 additions and 2 deletions

View file

@ -63,7 +63,9 @@ def test_homepage_options(app_client):
def test_favicon(app_client):
response = app_client.get("/favicon.ico")
assert response.status == 200
assert "" == response.text
assert response.headers["cache-control"] == "max-age=3600, immutable, public"
assert response.headers["content-length"] == "1207"
assert response.headers["content-type"] == "image/png"
def test_static(app_client):