diff --git a/sportsipy/nfl/constants.py b/sportsipy/nfl/constants.py index f764862a..94223b07 100644 --- a/sportsipy/nfl/constants.py +++ b/sportsipy/nfl/constants.py @@ -339,7 +339,7 @@ 'fumbles_forced': 'td[data-stat="fumbles_forced"]', 'fumbles_recovered': 'td[data-stat="fumbles_rec"]', 'yards_recovered_from_fumble': 'td[data-stat="fumbles_rec_yds"]', - 'fumbles_recovered_for_touchdown': 'td[data-stat="fumbles_rec_yds"]', + 'fumbles_recovered_for_touchdown': 'td[data-stat="fumbles_rec_td"]', 'sacks': 'td[data-stat="sacks"]', 'tackles': 'td[data-stat="tackles_solo"]', 'assists_on_tackles': 'td[data-stat="tackles_assists"]', diff --git a/tests/integration/roster/test_nfl_roster.py b/tests/integration/roster/test_nfl_roster.py index b23997e3..085f28be 100644 --- a/tests/integration/roster/test_nfl_roster.py +++ b/tests/integration/roster/test_nfl_roster.py @@ -93,7 +93,7 @@ def setup_method(self): 'fumbles': 102, 'fumbles_forced': 0, 'fumbles_recovered': 29, - 'fumbles_recovered_for_touchdown': -111, + 'fumbles_recovered_for_touchdown': 0, 'game_winning_drives': 43, 'games': 252, 'games_started': 251, @@ -222,7 +222,7 @@ def setup_method(self): 'fumbles': 5, 'fumbles_forced': 0, 'fumbles_recovered': 3, - 'fumbles_recovered_for_touchdown': -12, + 'fumbles_recovered_for_touchdown': 0, 'game_winning_drives': 2, 'games': 16, 'games_started': 16, @@ -351,7 +351,7 @@ def setup_method(self): 'fumbles': 0, 'fumbles_forced': 2, 'fumbles_recovered': 5, - 'fumbles_recovered_for_touchdown': 8, + 'fumbles_recovered_for_touchdown': 0, 'game_winning_drives': None, 'games': 99, 'games_started': 85, @@ -1279,7 +1279,7 @@ def test_dataframe_returns_dataframe(self, *args, **kwargs): 'fumbles': 102, 'fumbles_forced': 0, 'fumbles_recovered': 102, - 'fumbles_recovered_for_touchdown': -111, + 'fumbles_recovered_for_touchdown': 0, 'game_winning_drives': 43, 'games': 252, 'games_started': 251,