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

Method test_invalid_token

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

Source from the content-addressed store, hash-verified

326@pytest.mark.manager
327class TestVerifyUser:
328 async def test_invalid_token(self, user_manager: UserManagerMock[UserModel]):
329 with pytest.raises(InvalidVerifyToken):
330 await user_manager.verify("foo")
331
332 async def test_token_expired(
333 self, user_manager: UserManagerMock[UserModel], user: UserModel, verify_token

Callers

nothing calls this directly

Calls 1

verifyMethod · 0.80

Tested by

no test coverage detected