test_file_list_form_order() — fastapi Function Reference
Architecture documentation for the test_file_list_form_order() function in test_file_and_form_order_issue_9116.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD 6ebac114_8605_8ed8_c570_0fc62aef2b8d["test_file_list_form_order()"] 2f621e7e_cb9e_ad59_2637_4d2e1ff1bef4["test_file_and_form_order_issue_9116.py"] 6ebac114_8605_8ed8_c570_0fc62aef2b8d -->|defined in| 2f621e7e_cb9e_ad59_2637_4d2e1ff1bef4 style 6ebac114_8605_8ed8_c570_0fc62aef2b8d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_file_and_form_order_issue_9116.py lines 79–89
def test_file_list_form_order(endpoint_path: str, tmp_file_1: Path, tmp_file_2: Path):
response = client.post(
url=endpoint_path,
data={"city": "Thimphou"},
files=(
("files", (tmp_file_1.name, tmp_file_1.read_bytes())),
("files", (tmp_file_2.name, tmp_file_2.read_bytes())),
),
)
assert response.status_code == 200, response.text
assert response.json() == {"file_contents": ["foo", "bar"], "city": "Thimphou"}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_file_list_form_order() do?
test_file_list_form_order() is a function in the fastapi codebase, defined in tests/test_file_and_form_order_issue_9116.py.
Where is test_file_list_form_order() defined?
test_file_list_form_order() is defined in tests/test_file_and_form_order_issue_9116.py at line 79.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free