Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_patch_name (0.08 sec)

  1. tests/test_tutorial/test_body_updates/test_tutorial002.py

        )
        assert response.json() == {
            "name": "Fooz",
            "description": "Item description",
            "price": 3,
            "tax": 10.5,
            "tags": ["tag1", "tag2"],
        }
    
    
    def test_patch_name(client: TestClient):
        response = client.patch(
            "/items/bar",
            json={"name": "Barz"},
        )
        assert response.json() == {
            "name": "Barz",
            "description": "The bartenders",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top