Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tests/test_tutorial/test_body/test_tutorial001.py

                    "type": "missing",
                    "loc": ["body"],
                    "msg": "Field required",
                    "input": None,
                }
            ]
        }
    
    
    def test_post_broken_body(client: TestClient):
        response = client.post(
            "/items/",
            headers={"content-type": "application/json"},
            content="{some broken json}",
        )
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top