Home / Function/ test_send_all_data() — fastapi Function Reference

test_send_all_data() — fastapi Function Reference

Architecture documentation for the test_send_all_data() function in test_forms_single_model.py from the fastapi codebase.

Entity Profile

Dependency Diagram

graph TD
  891b2760_492f_50b7_e09f_8748fd2861ce["test_send_all_data()"]
  9040b4f3_c3f5_c14a_b0ec_0bf00390d9d7["test_forms_single_model.py"]
  891b2760_492f_50b7_e09f_8748fd2861ce -->|defined in| 9040b4f3_c3f5_c14a_b0ec_0bf00390d9d7
  style 891b2760_492f_50b7_e09f_8748fd2861ce fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/test_forms_single_model.py lines 37–55

def test_send_all_data():
    response = client.post(
        "/form/",
        data={
            "username": "Rick",
            "lastname": "Sanchez",
            "age": "70",
            "tags": ["plumbus", "citadel"],
            "with": "something",
        },
    )
    assert response.status_code == 200, response.text
    assert response.json() == {
        "username": "Rick",
        "lastname": "Sanchez",
        "age": 70,
        "tags": ["plumbus", "citadel"],
        "with": "something",
    }

Domain

Subdomains

Frequently Asked Questions

What does test_send_all_data() do?
test_send_all_data() is a function in the fastapi codebase, defined in tests/test_forms_single_model.py.
Where is test_send_all_data() defined?
test_send_all_data() is defined in tests/test_forms_single_model.py at line 37.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free