Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_read_items_size_too_small (0.1 sec)

  1. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial006.py

                    "msg": "Input should be less than or equal to 1000",
                    "type": "less_than_equal",
                    "ctx": {"le": 1000},
                }
            ]
        }
    
    
    def test_read_items_size_too_small(client: TestClient):
        response = client.get("/items/1?q=somequery&size=0.0")
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top