test_object() — fastapi Function Reference
Architecture documentation for the test_object() function in test_serialize_response_dataclass.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD 199a8d92_4481_a5aa_32af_a1d5a88c5446["test_object()"] cc2e05a7_3368_3936_0f86_18c75f23ff0c["test_serialize_response_dataclass.py"] 199a8d92_4481_a5aa_32af_a1d5a88c5446 -->|defined in| cc2e05a7_3368_3936_0f86_18c75f23ff0c style 199a8d92_4481_a5aa_32af_a1d5a88c5446 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_serialize_response_dataclass.py lines 89–97
def test_object():
response = client.get("/items/object")
response.raise_for_status()
assert response.json() == {
"name": "object",
"date": datetime(2021, 7, 26).isoformat(),
"price": 1.0,
"owner_ids": [1, 2, 3],
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_object() do?
test_object() is a function in the fastapi codebase, defined in tests/test_serialize_response_dataclass.py.
Where is test_object() defined?
test_object() is defined in tests/test_serialize_response_dataclass.py at line 89.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free