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

Method test_missing_token

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

Source from the content-addressed store, hash-verified

859@pytest.mark.asyncio
860class TestDeleteUser:
861 async def test_missing_token(self, test_app_client: tuple[httpx.AsyncClient, bool]):
862 client, _ = test_app_client
863 response = await client.delete("/d35d213e-f3d8-4f08-954a-7e0d1bea286f")
864 assert response.status_code == status.HTTP_401_UNAUTHORIZED
865
866 async def test_regular_user(
867 self,

Callers

nothing calls this directly

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected