- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for test_read_system_status_no_token (0.09 sec)
-
tests/test_tutorial/test_security/test_tutorial005.py
"/status/", headers={"Authorization": f"Bearer {access_token}"} ) assert response.status_code == 200, response.text assert response.json() == {"status": "ok"} def test_read_system_status_no_token(mod: ModuleType): client = TestClient(mod.app) response = client.get("/status/") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"}Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 15.8K bytes - Viewed (0)