Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for 418 (0.01 sec)

  1. tests/test_tutorial/test_handling_errors/test_tutorial006.py

                    "input": "foo",
                }
            ]
        }
    
    
    def test_get_http_error():
        response = client.get("/items/3")
        assert response.status_code == 418, response.text
        assert response.json() == {"detail": "Nope! I don't like 3."}
    
    
    def test_get():
        response = client.get("/items/2")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_bigger_applications/test_main.py

                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            },
                            "418": {"description": "I'm a teapot"},
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 21.3K bytes
    - Viewed (0)
Back to top