- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for test_post_body_q_bar_content (0.09 seconds)
-
tests/test_tutorial/test_body_multiple_params/test_tutorial001.py
], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_multiple_params.{request.param}") client = TestClient(mod.app) return client def test_post_body_q_bar_content(client: TestClient): response = client.put("/items/5?q=bar", json={"name": "Foo", "price": 50.5}) assert response.status_code == 200 assert response.json() == { "item_id": 5, "item": {
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 6.9K bytes - Click Count (0)