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

Method test_missing_token

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

Source from the content-addressed store, hash-verified

52@pytest.mark.asyncio
53class TestMe:
54 async def test_missing_token(self, test_app_client: tuple[httpx.AsyncClient, bool]):
55 client, _ = test_app_client
56 response = await client.get("/me")
57 assert response.status_code == status.HTTP_401_UNAUTHORIZED
58
59 async def test_inactive_user(
60 self,

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected