(
self,
create_oauth2_password_request_form: Callable[
[str, str], OAuth2PasswordRequestForm
],
user_manager: UserManagerMock[UserModel],
)
| 678 | assert user is None |
| 679 | |
| 680 | async def test_valid_credentials( |
| 681 | self, |
| 682 | create_oauth2_password_request_form: Callable[ |
| 683 | [str, str], OAuth2PasswordRequestForm |
| 684 | ], |
| 685 | user_manager: UserManagerMock[UserModel], |
| 686 | ): |
| 687 | form = create_oauth2_password_request_form( |
| 688 | "king.arthur@camelot.bt", "guinevere" |
| 689 | ) |
| 690 | user = await user_manager.authenticate(form) |
| 691 | assert user is not None |
| 692 | assert user.email == "king.arthur@camelot.bt" |
| 693 | |
| 694 | async def test_upgrade_password_hash( |
| 695 | self, |
nothing calls this directly
no test coverage detected