test_query_params_str_validations_item_query_nonregexquery() — fastapi Function Reference
Architecture documentation for the test_query_params_str_validations_item_query_nonregexquery() function in test_regex_deprecated_params.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD 6a7d464b_0cc3_2d78_1eea_7c126ccfd17e["test_query_params_str_validations_item_query_nonregexquery()"] 3115589e_a081_ce28_ae94_1ef83d2bd277["test_regex_deprecated_params.py"] 6a7d464b_0cc3_2d78_1eea_7c126ccfd17e -->|defined in| 3115589e_a081_ce28_ae94_1ef83d2bd277 3e264647_060d_092b_b0c5_437ea40ab0e0["get_client()"] 6a7d464b_0cc3_2d78_1eea_7c126ccfd17e -->|calls| 3e264647_060d_092b_b0c5_437ea40ab0e0 style 6a7d464b_0cc3_2d78_1eea_7c126ccfd17e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_regex_deprecated_params.py lines 46–60
def test_query_params_str_validations_item_query_nonregexquery():
client = get_client()
response = client.get("/items/", params={"q": "nonregexquery"})
assert response.status_code == 422
assert response.json() == {
"detail": [
{
"type": "string_pattern_mismatch",
"loc": ["query", "q"],
"msg": "String should match pattern '^fixedquery$'",
"input": "nonregexquery",
"ctx": {"pattern": "^fixedquery$"},
}
]
}
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does test_query_params_str_validations_item_query_nonregexquery() do?
test_query_params_str_validations_item_query_nonregexquery() is a function in the fastapi codebase, defined in tests/test_regex_deprecated_params.py.
Where is test_query_params_str_validations_item_query_nonregexquery() defined?
test_query_params_str_validations_item_query_nonregexquery() is defined in tests/test_regex_deprecated_params.py at line 46.
What does test_query_params_str_validations_item_query_nonregexquery() call?
test_query_params_str_validations_item_query_nonregexquery() calls 1 function(s): get_client.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free