Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_read_items_missing_q (0.7 sec)

  1. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial005.py

                    "msg": "Input should be less than or equal to 1000",
                    "type": "less_than_equal",
                    "ctx": {"le": 1000},
                }
            ]
        }
    
    
    def test_read_items_missing_q(client: TestClient):
        response = client.get("/items/42")
        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
    - 6.6K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial002_tutorial003.py

                    "msg": "Input should be a valid integer, unable to parse string as an integer",
                    "type": "int_parsing",
                }
            ]
        }
    
    
    def test_read_items_missing_q(client: TestClient):
        response = client.get("/items/42")
        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
    - 5.6K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_path_params_numeric_validations/test_tutorial004.py

                    "msg": "Input should be greater than or equal to 1",
                    "type": "greater_than_equal",
                    "ctx": {"ge": 1},
                }
            ]
        }
    
    
    def test_read_items_missing_q(client: TestClient):
        response = client.get("/items/42")
        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
    - 6K bytes
    - Viewed (0)
Back to top