- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_header_model_with_alias (0.07 sec)
-
tests/test_request_param_model_by_alias.py
client = TestClient(app) response = client.get("/query", params={"param_alias": "value"}) assert response.status_code == 200, response.text assert response.json() == {"param": "value"} def test_header_model_with_alias(): client = TestClient(app) response = client.get("/header", headers={"param_alias": "value"}) assert response.status_code == 200, response.text assert response.json() == {"param": "value"}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 2.1K bytes - Viewed (0)