(
self,
create_oauth2_password_request_form: Callable[
[str, str], OAuth2PasswordRequestForm
],
user_manager: UserManagerMock[UserModel],
)
| 656 | @pytest.mark.manager |
| 657 | class TestAuthenticate: |
| 658 | async def test_unknown_user( |
| 659 | self, |
| 660 | create_oauth2_password_request_form: Callable[ |
| 661 | [str, str], OAuth2PasswordRequestForm |
| 662 | ], |
| 663 | user_manager: UserManagerMock[UserModel], |
| 664 | ): |
| 665 | form = create_oauth2_password_request_form("lancelot@camelot.bt", "guinevere") |
| 666 | user = await user_manager.authenticate(form) |
| 667 | assert user is None |
| 668 | |
| 669 | async def test_wrong_password( |
| 670 | self, |
nothing calls this directly
no test coverage detected