Skip to content

Commit

Permalink
add mock data and test
Browse files Browse the repository at this point in the history
  • Loading branch information
cwendt94 committed Sep 24, 2024
1 parent 7a54bdb commit b755edf
Show file tree
Hide file tree
Showing 4 changed files with 7,582 additions and 2 deletions.
2 changes: 1 addition & 1 deletion espn_api/football/team.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, data, roster, schedule, year, **kwargs):
def __repr__(self):
return 'Team(%s)' % (self.team_name, )

def _fetch_roster(self, data, year, pro_schedule):
def _fetch_roster(self, data, year, pro_schedule = None):
'''Fetch teams roster'''
self.roster.clear()
roster = data.get('entries', [])
Expand Down
Loading

0 comments on commit b755edf

Please sign in to comment.