Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_create_item_only_required (0.21 sec)

  1. tests/test_tutorial/test_response_model/test_tutorial001_tutorial001_01.py

            "tags": ["test", "item"],
        }
        response = client.post("/items/", json=item_data)
        assert response.status_code == 200, response.text
        assert response.json() == item_data
    
    
    def test_create_item_only_required(client: TestClient):
        response = client.post(
            "/items/",
            json={
                "name": "Test Item",
                "price": 10.5,
            },
        )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 6.5K bytes
    - Viewed (0)
Back to top