mirror of https://github.com/tiangolo/fastapi.git
linting
This commit is contained in:
parent
4e15aa1d12
commit
846ae007c8
|
|
@ -77,7 +77,7 @@ sequence_shape_to_type = {
|
||||||
}
|
}
|
||||||
|
|
||||||
mapping_shapes = {SHAPE_MAPPING}
|
mapping_shapes = {SHAPE_MAPPING}
|
||||||
mapping_types = (Mapping)
|
mapping_types = Mapping
|
||||||
mapping_shapes_to_type = {SHAPE_MAPPING: Mapping}
|
mapping_shapes_to_type = {SHAPE_MAPPING: Mapping}
|
||||||
|
|
||||||
multipart_not_installed_error = (
|
multipart_not_installed_error = (
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,7 @@ response_not_valid_int = {
|
||||||
"/query/sequence-params?first-query=1&first-query=2",
|
"/query/sequence-params?first-query=1&first-query=2",
|
||||||
200,
|
200,
|
||||||
"foo bar {'first-query': [1, 2]}",
|
"foo bar {'first-query': [1, 2]}",
|
||||||
)
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
def test_get_path(path, expected_status, expected_response):
|
def test_get_path(path, expected_status, expected_response):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue