Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_post_no_body (0.08 sec)

  1. tests/test_tutorial/test_body_multiple_params/test_tutorial002.py

                "name": "Foo",
                "price": 50.5,
                "description": None,
                "tax": None,
            },
            "user": {"username": "johndoe", "full_name": None},
        }
    
    
    def test_post_no_body(client: TestClient):
        response = client.put("/items/5", json=None)
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "input": None,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top