Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyagreco committed Aug 30, 2024
1 parent 8024913 commit d942b13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/integration/test_api/constants.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# USER A
USER_A_USER_ID = "852776903310966784"
USER_A_DRAFTS = [
USER_A_DRAFTS_2023 = [
{
"created": 1693364455045,
"creators": None,
Expand Down
5 changes: 2 additions & 3 deletions test/integration/test_api/test_draft.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
LEAGUE_A_DRAFT_ID_1,
LEAGUE_A_DRAFTS,
LEAGUE_A_LEAGUE_ID_1,
USER_A_DRAFTS,
USER_A_DRAFTS_2023,
USER_A_USER_ID,
)

Expand All @@ -17,13 +17,12 @@ def test_get_user_drafts_for_year_happy_path(self):
response = get_user_drafts_for_year(
user_id=USER_A_USER_ID, sport=Sport.NFL, year="2023"
)
self.assertEqual(USER_A_DRAFTS, response)
self.assertEqual(USER_A_DRAFTS_2023, response)

def test_get_drafts_in_league(self):
response = get_drafts_in_league(league_id=LEAGUE_A_LEAGUE_ID_1)
self.assertEqual(LEAGUE_A_DRAFTS, response)

def test_get_draft(self):
response = get_draft(draft_id=LEAGUE_A_DRAFT_ID_1)
print(response)
self.assertEqual(LEAGUE_A_DRAFT_1, response)

0 comments on commit d942b13

Please sign in to comment.