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

Function user_oauth

tests/conftest.py:160–167  ·  view source on GitHub ↗
(
    oauth_account1: OAuthAccountModel, oauth_account2: OAuthAccountModel
)

Source from the content-addressed store, hash-verified

158
159@pytest.fixture
160def user_oauth(
161 oauth_account1: OAuthAccountModel, oauth_account2: OAuthAccountModel
162) -> UserOAuthModel:
163 return UserOAuthModel(
164 email="king.arthur@camelot.bt",
165 hashed_password=guinevere_password_hash,
166 oauth_accounts=[oauth_account1, oauth_account2],
167 )
168
169
170@pytest.fixture

Callers

nothing calls this directly

Calls 1

UserOAuthModelClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…