Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for test_query_params_str_validations_q_fixedquery_too_short (0.16 sec)

  1. tests/test_tutorial/test_query_params_str_validations/test_tutorial007.py

        assert response.status_code == 200
        assert response.json() == {
            "items": [{"item_id": "Foo"}, {"item_id": "Bar"}],
            "q": "fixedquery",
        }
    
    
    def test_query_params_str_validations_q_fixedquery_too_short(client: TestClient):
        response = client.get("/items/", params={"q": "fa"})
        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
    - 4.6K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_query_params_str_validations/test_tutorial006.py

        assert response.status_code == 200
        assert response.json() == {
            "items": [{"item_id": "Foo"}, {"item_id": "Bar"}],
            "q": "fixedquery",
        }
    
    
    def test_query_params_str_validations_q_fixedquery_too_short(client: TestClient):
        response = client.get("/items/", params={"q": "fa"})
        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
    - 4.4K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_query_params_str_validations/test_tutorial008.py

        assert response.status_code == 200
        assert response.json() == {
            "items": [{"item_id": "Foo"}, {"item_id": "Bar"}],
            "q": "fixedquery",
        }
    
    
    def test_query_params_str_validations_q_fixedquery_too_short(client: TestClient):
        response = client.get("/items/", params={"q": "fa"})
        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
    - 4.9K bytes
    - Viewed (0)
Back to top