Skip to content

Commit

Permalink
clean up test
Browse files Browse the repository at this point in the history
  • Loading branch information
cwendt94 committed Mar 18, 2020
1 parent 3d25fbc commit 5be1166
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,4 @@ coverage:
status:
project:
default:
target: number
threshold: 50%
base: auto
target: 50%
4 changes: 2 additions & 2 deletions tests/football/unit/test_league.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,8 +251,8 @@ def test_recent_activity(self, m):
@mock.patch.object(League, '_fetch_league')
def test_cookie_set(self, mock_fetch_league):
league = League(league_id=1234, year=2019, espn_s2='cookie1', swid='cookie2')
self.assertEqual(league.espn_s2, 'cookie1')
self.assertEqual(league.swid, 'cookie2')
self.assertEqual(league.espn_request.cookies['espn_s2'], 'cookie1')
self.assertEqual(league.espn_request.cookies['SWID'], 'cookie2')



0 comments on commit 5be1166

Please sign in to comment.