Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for test_required_list_alias_by_alias (0.11 sec)

  1. tests/test_request_params/test_header/test_list.py

                }
            ]
        }
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/required-list-alias",
            "/model-required-list-alias",
        ],
    )
    def test_required_list_alias_by_alias(path: str):
        client = TestClient(app)
        response = client.get(path, headers=[("p_alias", "hello"), ("p_alias", "world")])
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 11K bytes
    - Viewed (0)
  2. tests/test_request_params/test_query/test_list.py

                }
            ]
        }
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/required-list-alias",
            "/model-required-list-alias",
        ],
    )
    def test_required_list_alias_by_alias(path: str):
        client = TestClient(app)
        response = client.get(f"{path}?p_alias=hello&p_alias=world")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. tests/test_request_params/test_form/test_list.py

                }
            ]
        }
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-list-alias", "/model-required-list-alias"],
    )
    def test_required_list_alias_by_alias(path: str):
        client = TestClient(app)
        response = client.post(path, data={"p_alias": ["hello", "world"]})
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. tests/test_request_params/test_body/test_list.py

                }
            ]
        }
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-list-alias", "/model-required-list-alias"],
    )
    def test_required_list_alias_by_alias(path: str):
        client = TestClient(app)
        response = client.post(path, json={"p_alias": ["hello", "world"]})
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:31:34 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top