- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for test_optional_list_alias_by_alias (0.14 seconds)
-
tests/test_request_params/test_query/test_optional_list.py
assert response.json() == {"p": None} @pytest.mark.parametrize( "path", [ "/optional-list-alias", "/model-optional-list-alias", ], ) def test_optional_list_alias_by_alias(path: str): client = TestClient(app) response = client.get(f"{path}?p_alias=hello&p_alias=world") assert response.status_code == 200 assert response.json() == {"p": ["hello", "world"]}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9.1K bytes - Click Count (0) -
tests/test_request_params/test_header/test_optional_list.py
assert response.json() == {"p": None} @pytest.mark.parametrize( "path", [ "/optional-list-alias", "/model-optional-list-alias", ], ) def test_optional_list_alias_by_alias(path: str): client = TestClient(app) response = client.get(path, headers=[("p_alias", "hello"), ("p_alias", "world")]) assert response.status_code == 200
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9.3K bytes - Click Count (0)