Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_post_missing_required_field_in_item (0.12 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_tutorial/test_body_multiple_params/test_tutorial005.py

                        "item",
                    ],
                    "msg": "Field required",
                    "type": "missing",
                },
            ],
        }
    
    
    def test_post_missing_required_field_in_item(client: TestClient):
        response = client.put(
            "/items/5", json={"item": {"name": "Foo"}, "user": {"username": "johndoe"}}
        )
        assert response.status_code == 422
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top