Skip to content

Commit

Permalink
Adding LeagueDashPtStats to tests and __init__
Browse files Browse the repository at this point in the history
  • Loading branch information
swar committed Oct 9, 2018
1 parent 1aa6caf commit b5149bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion nba_api/stats/endpoints/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'draftcombinespotshooting', 'draftcombinestats', 'drafthistory', 'franchisehistory', 'homepageleaders',
'homepagev2', 'infographicfanduelplayer', 'leaderstiles', 'leaguedashlineups', 'leaguedashplayerbiostats',
'leaguedashplayerclutch', 'leaguedashplayerptshot', 'leaguedashplayershotlocations', 'leaguedashplayerstats',
'leaguedashptdefend', 'leaguedashptteamdefend', 'leaguedashteamclutch', 'leaguedashteamptshot',
'leaguedashptdefend', 'leaguedashptstats', 'leaguedashptteamdefend', 'leaguedashteamclutch', 'leaguedashteamptshot',
'leaguedashteamshotlocations', 'leaguedashteamstats', 'leaguegamefinder', 'leaguegamelog', 'leagueleaders',
'leaguestandings', 'playbyplay', 'playbyplayv2', 'playerawards', 'playercareerstats', 'playercompare',
'playerdashptpass', 'playerdashptreb', 'playerdashptshotdefend', 'playerdashptshots',
Expand Down
3 changes: 3 additions & 0 deletions tests/stats/test_endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@
test = leaguedashptdefend.LeagueDashPtDefend().nba_response.valid_json()
if not test:
raise Exception('fail', 'leaguedashptdefend')
test = leaguedashptstats.LeagueDashPtStats().nba_response.valid_json()
if not test:
raise Exception('fail', 'leaguedashptstats')
test = leaguedashptteamdefend.LeagueDashPtTeamDefend().nba_response.valid_json()
if not test:
raise Exception('fail', 'leaguedashptteamdefend')
Expand Down

0 comments on commit b5149bd

Please sign in to comment.