Esempio n. 1
0
def test_get_all_stats(capsys):
	stats = Stats()
	all_stats = stats.get_all_stats('regular', 2018)
	assert isinstance(all_stats, list)
Esempio n. 2
0
from sleeper_wrapper import League
from sleeper_wrapper import Stats


league = League(601091358869999616)
league.get_league()

league.get_users()


stats = Stats()
stats.get_all_stats("regular", "2020")
stats.get_week_stats("regular", "2020", "1")