MCPcopy Create free account
hub / github.com/fastapi-users/fastapi-users / test_existing_user

Method test_existing_user

tests/test_manager.py:96–100  ·  view source on GitHub ↗
(
        self, user_manager: UserManagerMock[UserModel], user: UserModel
    )

Source from the content-addressed store, hash-verified

94 await user_manager.get_by_email("lancelot@camelot.bt")
95
96 async def test_existing_user(
97 self, user_manager: UserManagerMock[UserModel], user: UserModel
98 ):
99 retrieved_user = await user_manager.get_by_email(user.email)
100 assert retrieved_user.id == user.id
101
102
103@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 1

get_by_emailMethod · 0.45

Tested by

no test coverage detected