Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_required_missing (0.13 seconds)

  1. tests/test_request_params/test_file/test_required.py

            "title": body_model_name,
            "type": "object",
        }
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/required-bytes",
            "/required-uploadfile",
        ],
    )
    def test_required_missing(path: str):
        client = TestClient(app)
        response = client.post(path)
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 11.1K bytes
    - Click Count (0)
Back to Top