Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_post_required (0.9 sec)

  1. tests/test_tutorial/test_body_multiple_params/test_tutorial005.py

            "item_id": 5,
            "item": {
                "name": "Foo",
                "price": 50.5,
                "description": "Some Foo",
                "tax": 0.1,
            },
        }
    
    
    def test_post_required(client: TestClient):
        response = client.put(
            "/items/5",
            json={
                "item": {"name": "Foo", "price": 50.5},
            },
        )
        assert response.status_code == 200
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top