Skip to content

Commit

Permalink
modified test_private_league to verify league switched to fallback UR…
Browse files Browse the repository at this point in the history
…L -- fixed typo in comment
  • Loading branch information
Robert Litts committed Jan 7, 2025
1 parent d64b1cd commit 1376c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/football/integration/test_league.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def test_past_league(self):
self.assertEqual(league.nfl_week, 18)

def test_private_league(self):
''' Test for switching to fallback API endpoint for private leagues, rando, incorrect cookies used'''
''' Test for switching to fallback API endpoint for private leagues. Random, incorrect cookies used to force fallback. '''
league = League(368876, 2018, 'AEF1234567890ABCDE1234567890ABCD', '{D0C25A4C-2A0D-4E56-8E7F-20A10B663272}')

self.assertEqual(league.espn_request.LEAGUE_ENDPOINT, "https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/leagueHistory/36887?seasonId=2018")
Expand Down

0 comments on commit 1376c78

Please sign in to comment.