Search Options

Display Count
Sort
Preferred Language
Advanced Search

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

  1. tests/test_request_params/test_body/test_optional_list.py

        client = TestClient(app)
        response = client.post("/optional-list-str")
        assert response.status_code == 200, response.text
        assert response.json() == {"p": None}
    
    
    def test_model_optional_list_str_missing():
        client = TestClient(app)
        response = client.post("/model-optional-list-str")
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 12.7K bytes
    - Click Count (0)
Back to Top