Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /fief-dev_fief /tests /test_dependencies_login_hint.py
| import pytest | |
| from fief.dependencies.login_hint import LoginHint, get_login_hint | |
| from tests.data import TestData | |
| async def test_get_login_hint(input: str | None, output: LoginHint | None): | |
| assert await get_login_hint(input, []) == output | |
| async def test_get_login_hint_oauth_provider(test_data: TestData): | |
| oauth_provider = test_data["oauth_providers"]["google"] | |
| assert ( | |
| await get_login_hint( | |
| str(oauth_provider.id), list(test_data["oauth_providers"].values()) | |
| ) | |
| == oauth_provider | |
| ) | |
Xet Storage Details
- Size:
- 867 Bytes
- Xet hash:
- 5bae4397c290438a8dbcd63a2cf5dc2fd4d223be605077b46d1442f4062d8b52
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.