test.integration.test_api_league_data

Pytest integration tests for Yahoo Fantasy Sports API league data.

Note

Tests saving and loading all Yahoo Fantasy Sports API league 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_league_draft_results

Retrieve draft results for chosen league.

test_get_league_info

Retrieve info for chosen league.

test_get_league_matchups_by_week

Retrieve matchups for chosen league by week.

test_get_league_metadata

Retrieve metadata for chosen league.

test_get_league_players

Retrieve valid players for chosen league.

test_get_league_players_with_limit

Retrieve valid players for chosen league.

test_get_league_scoreboard_by_week

Retrieve scoreboard for chosen league by week.

test_get_league_settings

Retrieve settings (rules) for chosen league.

test_get_league_standings

Retrieve standings for chosen league.

test_get_league_teams

Retrieve teams for chosen league.

test_get_league_transactions

Retrieve transactions for chosen league.