MCPcopy Index your code
hub / github.com/fastapi-users/fastapi-users / test_missing_token

Method test_missing_token

tests/test_router_users.py:394–397  ·  view source on GitHub ↗
(self, test_app_client: tuple[httpx.AsyncClient, bool])

Source from the content-addressed store, hash-verified

392@pytest.mark.asyncio
393class TestGetUser:
394 async def test_missing_token(self, test_app_client: tuple[httpx.AsyncClient, bool]):
395 client, _ = test_app_client
396 response = await client.get("/d35d213e-f3d8-4f08-954a-7e0d1bea286f")
397 assert response.status_code == status.HTTP_401_UNAUTHORIZED
398
399 async def test_regular_user(
400 self,

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected