test.integration.test_api_team_data

Pytest integration tests for Yahoo Fantasy Sports API team data.

Note

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

Retrieve draft results of specific team by team_id for chosen league.

test_get_team_info

Retrieve info of specific team by team_id for chosen league.

test_get_team_matchups

Retrieve matchups of specific team by team_id for chosen league.

test_get_team_metadata

Retrieve metadata of specific team by team_id for chosen league.

test_get_team_roster_by_week

Retrieve roster of specific team by team_id and by week for chosen league.

test_get_team_roster_player_info_by_date

Retrieve roster with player info of specific team by team_id and by date for chosen league.

test_get_team_roster_player_info_by_week

Retrieve roster with player info of specific team by team_id and by week for chosen league.

test_get_team_roster_player_stats

Retrieve roster with player info for season of specific team by team_id for chosen league.

test_get_team_roster_player_stats_by_week

Retrieve roster with player stats of specific team by team_id and by week for chosen league.

test_get_team_standings

Retrieve standings of specific team by team_id for chosen league.

test_get_team_stats

Retrieve stats of specific team by team_id for chosen league.

test_get_team_stats_by_week

Retrieve stats of specific team by team_id and by week for chosen league.