Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for less_than (0.04 sec)

  1. tests/test_path.py

    def test_path_param_lt_42():
        response = client.get("/path/param-lt/42")
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "less_than",
                    "loc": ["path", "item_id"],
                    "msg": "Input should be less than 3",
                    "input": "42",
                    "ctx": {"lt": 3.0},
                }
            ]
        }
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 20.5K bytes
    - Viewed (1)
Back to top