mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fixed 500 error with /favicon.ico, closes #874
This commit is contained in:
parent
22d932fafc
commit
35aee82c60
2 changed files with 7 additions and 1 deletions
|
|
@ -52,6 +52,12 @@ def test_http_head(app_client):
|
|||
assert response.status == 200
|
||||
|
||||
|
||||
def test_favicon(app_client):
|
||||
response = app_client.get("/favicon.ico")
|
||||
assert response.status == 200
|
||||
assert "" == response.text
|
||||
|
||||
|
||||
def test_static(app_client):
|
||||
response = app_client.get("/-/static/app2.css")
|
||||
assert response.status == 404
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue