mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Apply Black, refs #1922
This commit is contained in:
parent
6bfd71f5c6
commit
2cd7ecaa0a
1 changed files with 3 additions and 1 deletions
|
|
@ -914,7 +914,9 @@ def test_cors(
|
|||
assert response.headers["Access-Control-Allow-Origin"] == "*"
|
||||
assert response.headers["Access-Control-Allow-Headers"] == "Authorization"
|
||||
assert response.headers["Access-Control-Expose-Headers"] == "Link"
|
||||
assert response.headers["Access-Control-Allow-Methods"] == "GET, POST, HEAD, OPTIONS"
|
||||
assert (
|
||||
response.headers["Access-Control-Allow-Methods"] == "GET, POST, HEAD, OPTIONS"
|
||||
)
|
||||
# Same request to app_client_two_attached_databases_one_immutable
|
||||
# should not have those headers - I'm using that fixture because
|
||||
# regular app_client doesn't have immutable fixtures.db which means
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue