(
self, user_manager_oauth: UserManagerMock[UserModel], user_oauth: UserOAuthModel
)
| 110 | await user_manager_oauth.get_by_oauth_account("service1", "foo") |
| 111 | |
| 112 | async def test_existing_user( |
| 113 | self, user_manager_oauth: UserManagerMock[UserModel], user_oauth: UserOAuthModel |
| 114 | ): |
| 115 | oauth_account = user_oauth.oauth_accounts[0] |
| 116 | retrieved_user = await user_manager_oauth.get_by_oauth_account( |
| 117 | oauth_account.oauth_name, oauth_account.account_id |
| 118 | ) |
| 119 | assert retrieved_user.id == user_oauth.id |
| 120 | |
| 121 | |
| 122 | @pytest.mark.asyncio |
nothing calls this directly
no test coverage detected