mirror of https://github.com/tiangolo/fastapi.git
add test queries for params and sequence params
This commit is contained in:
parent
cfa97c5884
commit
6d411b53cf
|
|
@ -57,7 +57,12 @@ response_not_valid_int = {
|
|||
(
|
||||
"/query/params?first-query=1&second-query=2",
|
||||
200,
|
||||
"foo bar {'first-query': 1, " "'second-query': 2}",
|
||||
"foo bar {'first-query': 1, 'second-query': 2}",
|
||||
),
|
||||
(
|
||||
"/query/sequence-params?first-query=1&first-query=2",
|
||||
200,
|
||||
"foo bar {'first-query': [1, 2]}",
|
||||
),
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue