Skip to content

Commit

Permalink
✅ Re-enable test in `tests/test_tutorial/test_header_params/test_tuto…
Browse files Browse the repository at this point in the history
…rial003.py` after fix in Starlette (#10904)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
  • Loading branch information
ooknimm and pre-commit-ci[bot] committed Jan 12, 2024
1 parent 44f3ebc commit be0bd34
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_tutorial/test_header_params/test_tutorial003.py
Expand Up @@ -12,8 +12,12 @@
[
("/items", None, 200, {"X-Token values": None}),
("/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):
Expand Down

0 comments on commit be0bd34

Please sign in to comment.