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