mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Make test_favicon flexible to changing icon sizes, refs #1603
This commit is contained in:
parent
b01c9b68d1
commit
7c67483f5e
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ def test_favicon(app_client):
|
|||
response = app_client.get("/favicon.ico")
|
||||
assert response.status == 200
|
||||
assert response.headers["cache-control"] == "max-age=3600, immutable, public"
|
||||
assert response.headers["content-length"] == "1207"
|
||||
assert int(response.headers["content-length"]) > 100
|
||||
assert response.headers["content-type"] == "image/png"
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue