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

Method test_not_existing_user

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

Source from the content-addressed store, hash-verified

90@pytest.mark.manager
91class TestGetByEmail:
92 async def test_not_existing_user(self, user_manager: UserManagerMock[UserModel]):
93 with pytest.raises(UserNotExists):
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

Callers

nothing calls this directly

Calls 1

get_by_emailMethod · 0.45

Tested by

no test coverage detected