mirror of
https://github.com/rjNemo/fastapi
synced 2026-06-06 02:26:46 +00:00
🎨 Format tests for Cookies
This commit is contained in:
parent
7f382127cc
commit
b59e8ffcf6
2 changed files with 6 additions and 1 deletions
0
tests/test_tutorial/test_cookie_params/__init__.py
Normal file
0
tests/test_tutorial/test_cookie_params/__init__.py
Normal file
|
|
@ -83,7 +83,12 @@ openapi_schema = {
|
|||
("/openapi.json", None, 200, openapi_schema),
|
||||
("/items", None, 200, {"ads_id": None}),
|
||||
("/items", {"ads_id": "ads_track"}, 200, {"ads_id": "ads_track"}),
|
||||
("/items", {"ads_id": "ads_track", "session": "cookiesession"}, 200, {"ads_id": "ads_track"}),
|
||||
(
|
||||
"/items",
|
||||
{"ads_id": "ads_track", "session": "cookiesession"},
|
||||
200,
|
||||
{"ads_id": "ads_track"},
|
||||
),
|
||||
("/items", {"session": "cookiesession"}, 200, {"ads_id": None}),
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue