Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for test_optional_list_str_missing (0.18 seconds)

  1. tests/test_request_params/test_form/test_optional_list.py

            },
            "title": body_model_name,
            "type": "object",
        }
    
    
    @pytest.mark.parametrize(
        "path",
        ["/optional-list-str", "/model-optional-list-str"],
    )
    def test_optional_list_str_missing(path: str):
        client = TestClient(app)
        response = client.post(path)
        assert response.status_code == 200, response.text
        assert response.json() == {"p": None}
    
    
    @pytest.mark.parametrize(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.9K bytes
    - Click Count (0)
  2. tests/test_request_params/test_body/test_optional_list.py

                        {"type": "null"},
                    ],
                    "title": "P",
                },
            },
            "title": body_model_name,
            "type": "object",
        }
    
    
    def test_optional_list_str_missing():
        client = TestClient(app)
        response = client.post("/optional-list-str")
        assert response.status_code == 200, response.text
        assert response.json() == {"p": None}
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  3. tests/test_request_params/test_file/test_optional_list.py

    Sebastián Ramírez <******@****.***> 1771678891 -0800
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 10.8K bytes
    - Click Count (0)
Back to Top