- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_optional_alias_by_alias (0.77 sec)
-
tests/test_request_params/test_body/test_optional_str.py
assert response.status_code == 200 assert response.json() == {"p": None} @pytest.mark.parametrize( "path", ["/optional-alias", "/model-optional-alias"], ) def test_optional_alias_by_alias(path: str): client = TestClient(app) response = client.post(path, json={"p_alias": "hello"}) assert response.status_code == 200 assert response.json() == {"p": "hello"}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 11.6K bytes - Viewed (0)