mirror of https://github.com/tiangolo/fastapi.git
✅ Re-enable test in `tests/test_tutorial/test_header_params/test_tutorial003.py` after fix in Starlette (#10904)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
parent
44f3ebce6e
commit
be0bd34446
|
|
@ -12,8 +12,12 @@ client = TestClient(app)
|
||||||
[
|
[
|
||||||
("/items", None, 200, {"X-Token values": None}),
|
("/items", None, 200, {"X-Token values": None}),
|
||||||
("/items", {"x-token": "foo"}, 200, {"X-Token values": ["foo"]}),
|
("/items", {"x-token": "foo"}, 200, {"X-Token values": ["foo"]}),
|
||||||
# TODO: fix this, is it a bug?
|
(
|
||||||
# ("/items", [("x-token", "foo"), ("x-token", "bar")], 200, {"X-Token values": ["foo", "bar"]}),
|
"/items",
|
||||||
|
[("x-token", "foo"), ("x-token", "bar")],
|
||||||
|
200,
|
||||||
|
{"X-Token values": ["foo", "bar"]},
|
||||||
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
def test(path, headers, expected_status, expected_response):
|
def test(path, headers, expected_status, expected_response):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue