- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_get_me_no_credentials (0.17 sec)
-
tests/test_tutorial/test_authentication_error_status_code/test_tutorial001.py
assert response.status_code == 200 assert response.json() == { "message": "You are authenticated", "token": "secrettoken", } def test_get_me_no_credentials(client: TestClient): response = client.get("/me") assert response.status_code == 403 assert response.json() == {"detail": "Not authenticated"} def test_openapi_schema(client: TestClient):Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 1.9K bytes - Viewed (0)