test.integration.test_api_game_data

Pytest integration tests for Yahoo Fantasy Sports API game data.

Note

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

Integration test for retrieval of all Yahoo fantasy football game keys.

test_get_current_game_info

Integration test for retrieval of game info for current fantasy season.

test_get_current_game_metadata

Integration test for retrieval of game metadata for current fantasy season.

test_get_game_info_by_game_id

Integration test for retrieval of game info for specific game by id.

test_get_game_key_by_season

Integration test for retrieval of specific game key by season.

test_get_game_metadata_by_game_id

Integration test for retrieval of game metadata for specific game by id.

test_get_game_position_types_by_game_id

Integration test for retrieval of all valid position types for specific game by id.

test_get_game_roster_positions_by_game_id

Integration test for retrieval of all valid roster positions for specific game by id.

test_get_game_stat_categories_by_game_id

Integration test for retrieval of all valid stat categories of a specific game by id.

test_get_game_weeks_by_game_id

Integration test for retrieval of all valid weeks of a specific game by id.

test_get_league_key

Integration test for retrieval of league key for selected league.