fix:deadlock und doppelte Mails
This commit is contained in:
1 parent
b1531e41e1
commit
8b6f74f364
13 files changed
+69
-27
No files matched your search
+2
-1
@@ -79,4 +79,5 @@ def test_language_cookie_and_safe_redirect(client: TestClient) -> None:
|
||||
def test_unknown_language_sets_no_cookie(client: TestClient) -> None:
|
||||
resp = client.get("/language/xx", follow_redirects=False)
|
||||
assert resp.status_code == 303
|
||||
assert "set-cookie" not in resp.headers
|
||||
cookies = resp.headers.get_list("set-cookie")
|
||||
assert not any(c.startswith("surveybox_lang=") for c in cookies)
|
||||
Reference in new issue
Block a user