Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for test_post_no_body (0.2 seconds)

  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,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 11.7K bytes
    - Click Count (0)
Back to Top