Skip to content

Commit

Permalink
Merge pull request #201 from roclark/patch/fix-nba-tests
Browse files Browse the repository at this point in the history
Fix NBA Boxscore integration tests
  • Loading branch information
roclark authored Sep 23, 2019
2 parents 8cb38db + 2f890fa commit 379795c
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions tests/integration/boxscore/test_nba_boxscore.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,12 @@ def test_nba_boxscore_dataframe_returns_dataframe_of_all_values(self):
assert df1.empty

def test_nba_boxscore_players(self):
boxscore = Boxscore(BOXSCORE)

assert len(boxscore.home_players) == 13
assert len(boxscore.away_players) == 13
assert len(self.boxscore.home_players) == 13
assert len(self.boxscore.away_players) == 13

for player in boxscore.home_players:
for player in self.boxscore.home_players:
assert not player.dataframe.empty
for player in boxscore.away_players:
for player in self.boxscore.away_players:
assert not player.dataframe.empty


Expand Down

0 comments on commit 379795c

Please sign in to comment.