mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
New, improved favicon - refs #1603
This commit is contained in:
parent
e1770766ce
commit
0467723ee5
3 changed files with 13 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue