def league(): pyball = PyBall() league_id = pyball.get_teams()[0].league.id return pyball.get_league_by_id(league_id)
def test_game_teams(): pyball = PyBall() return pyball.get_teams()