Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_query_params_str_validations_q_too_short (0.12 sec)

  1. tests/test_tutorial/test_query_params_str_validations/test_tutorial003.py

        assert response.status_code == 200
        assert response.json() == {
            "items": [{"item_id": "Foo"}, {"item_id": "Bar"}],
            "q": "query",
        }
    
    
    def test_query_params_str_validations_q_too_short(client: TestClient):
        response = client.get("/items/", params={"q": "qu"})
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 5.1K bytes
    - Viewed (0)
Back to top