- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for test_header_param_model_defaults (0.16 sec)
-
tests/test_tutorial/test_header_param_models/test_tutorial001.py
"host": "testserver", "save_data": True, "if_modified_since": "yesterday", "traceparent": "123", "x_tag": ["one", "two"], } def test_header_param_model_defaults(client: TestClient): response = client.get("/items/", headers=[("save-data", "true")]) assert response.status_code == 200 assert response.json() == { "host": "testserver",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 8.7K bytes - Viewed (0) -
tests/test_tutorial/test_header_param_models/test_tutorial002.py
"host": "testserver", "save_data": True, "if_modified_since": "yesterday", "traceparent": "123", "x_tag": ["one", "two"], } def test_header_param_model_defaults(client: TestClient): response = client.get("/items/", headers=[("save-data", "true")]) assert response.status_code == 200 assert response.json() == { "host": "testserver",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.5K bytes - Viewed (0)