test_security_http_bearer_incorrect_scheme_credentials() — fastapi Function Reference
Architecture documentation for the test_security_http_bearer_incorrect_scheme_credentials() function in test_security_http_bearer_optional.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD 6445a856_36ba_2f53_a06f_b43114e71779["test_security_http_bearer_incorrect_scheme_credentials()"] 7a87688e_4c54_4f47_4f3f_b5a1411a8ab1["test_security_http_bearer_optional.py"] 6445a856_36ba_2f53_a06f_b43114e71779 -->|defined in| 7a87688e_4c54_4f47_4f3f_b5a1411a8ab1 style 6445a856_36ba_2f53_a06f_b43114e71779 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/test_security_http_bearer_optional.py lines 37–40
def test_security_http_bearer_incorrect_scheme_credentials():
response = client.get("/users/me", headers={"Authorization": "Basic notreally"})
assert response.status_code == 200, response.text
assert response.json() == {"msg": "Create an account first"}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does test_security_http_bearer_incorrect_scheme_credentials() do?
test_security_http_bearer_incorrect_scheme_credentials() is a function in the fastapi codebase, defined in tests/test_security_http_bearer_optional.py.
Where is test_security_http_bearer_incorrect_scheme_credentials() defined?
test_security_http_bearer_incorrect_scheme_credentials() is defined in tests/test_security_http_bearer_optional.py at line 37.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free