test.integration.test_api_user_data

Pytest integration tests for Yahoo Fantasy Sports API user data.

Note

Tests saving and loading all Yahoo Fantasy Sports API user data.

logger

Game data integration tests logger.

Type

Logger

env_path

Path to the local .env file used to set environment variables at runtime.

Type

Path

Functions

test_get_current_user

Retrieve metadata for current logged-in user.

test_get_user_games

Retrieve game history for current logged-in user.

test_get_user_leagues_by_game_id

Retrieve league history for current logged-in user for specific game by id.

test_get_user_teams

Retrieve teams for all leagues for current logged-in user for current game.