Home / Function/ test_extra_param_single() — fastapi Function Reference

test_extra_param_single() — fastapi Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

tests/test_forms_single_model.py lines 114–126

def test_extra_param_single():
    response = client.post(
        "/form-extra-allow/",
        data={
            "param": "123",
            "extra_param": "456",
        },
    )
    assert response.status_code == 200, response.text
    assert response.json() == {
        "param": "123",
        "extra_param": "456",
    }

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free