mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Update tests to export 200 for OPTIONS calls, refs #1922
This commit is contained in:
parent
48725bb4ea
commit
4c18730e71
2 changed files with 3 additions and 3 deletions
|
|
@ -55,8 +55,8 @@ def test_http_head(app_client):
|
|||
|
||||
def test_homepage_options(app_client):
|
||||
response = app_client.get("/", method="OPTIONS")
|
||||
assert response.status == 405
|
||||
assert response.text == "Method not allowed"
|
||||
assert response.status == 200
|
||||
assert response.text == "ok"
|
||||
|
||||
|
||||
def test_favicon(app_client):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue