Skip to content

Commit

Permalink
fixed typo in LEAGUE_ENDPOINT URL in assert equal test
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Litts committed Jan 7, 2025
1 parent 1376c78 commit a717848
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 @@ -18,7 +18,7 @@ def test_private_league(self):
''' 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")
self.assertEqual(league.espn_request.LEAGUE_ENDPOINT, "https://lm-api-reads.fantasy.espn.com/apis/v3/games/ffl/leagueHistory/368876?seasonId=2018")

def test_unknown_league(self):
with self.assertRaises(Exception):
Expand Down

0 comments on commit a717848

Please sign in to comment.