From 2cd7ecaa0a8ce51b9bebb65c39f07c7027884800 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Wed, 30 Nov 2022 13:54:47 -0800 Subject: [PATCH] Apply Black, refs #1922 --- tests/test_api.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tests/test_api.py b/tests/test_api.py index 4ead87d1..799831d8 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -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