Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_put_only_required (0.07 sec)

  1. tests/test_tutorial/test_body_nested_models/test_tutorial007.py

            ],
        }
    
        response = client.post(
            "/offers/",
            json=data,
        )
        assert response.status_code == 200, response.text
        assert response.json() == data
    
    
    def test_put_only_required(client: TestClient):
        response = client.post(
            "/offers/",
            json={
                "name": "Special Offer",
                "price": 38.6,
                "items": [
                    {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top