Browse Source

🎨 Format tests for Cookies

pull/11/head
Sebastián Ramírez 6 years ago
parent
commit
b59e8ffcf6
  1. 0
      tests/test_tutorial/test_cookie_params/__init__.py
  2. 7
      tests/test_tutorial/test_cookie_params/test_tutorial001.py

0
tests/test_tutorial/test_cookie_params/__init__.py

7
tests/test_tutorial/test_cookie_params/test_tutorial001.py

@ -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…
Cancel
Save