test.integration.conftest

Pytest integration test conftest.py.

Functions

auth_dir

Put private.json (see README.md) in yfpy/test/integration/ directory.

browser_callback

Turn on/off automatic opening of browser window for OAuth.

chosen_date

Set Yahoo Fantasy Sports chosen date for testing.

chosen_week

Set Yahoo Fantasy Sports chosen week for testing.

data_dir

Code tests will output data to this directory.

game_code

Set Yahoo Fantasy Sports game code for testing.

game_id

Set Yahoo Fantasy Sports game ID for testing.

game_key

Set Yahoo Fantasy Sports game key for testing.

league_id

Set Yahoo Fantasy Sports league ID for testing.

league_player_limit

Set Yahoo Fantasy Sports league player retrieval limit for testing.

player_id

Create and set Yahoo Fantasy Sports player ID for testing.

player_key

Create and set Yahoo Fantasy Sports player key for testing.

season

Set Yahoo Fantasy Sports season for testing.

team_id

Set Yahoo Fantasy Sports team ID for testing.

team_name

Set Yahoo Fantasy Sports team name for testing.

yahoo_data

Instantiate yfpy Data object.

yahoo_query

Instantiate yfpy YahooFantasySportsQuery object and override league key.