Skip to content

Commit

Permalink
For clarity, set the appID of Celeste as a constant
Browse files Browse the repository at this point in the history
  • Loading branch information
woctezuma committed Jan 1, 2025
1 parent 4e36b79 commit 9658940
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
from my_types import Ballots
from parsing_params import YEAR_WITH_DECADE_VOTE, YEAR_WITH_NO_VR_VOTE

CELESTE_APP_ID = 504230
EXPECTED_NUM_BALLOTS = 3
EXPECTED_NUM_REVIEW_TOKEN_INDICES = 2
HALF_LIFE_TWO_APP_ID = 220
Expand Down Expand Up @@ -460,7 +461,10 @@ def test_filter_out_votes_for_early_access_titles() -> None:
standardized_ballots,
)

assert bool(standardized_ballots["dummy_voter_name"]["ballots"][1] == "504230")
assert bool(
standardized_ballots["dummy_voter_name"]["ballots"][1]
== str(CELESTE_APP_ID),
)
assert bool(standardized_ballots["dummy_voter_name"]["ballots"][2] is None)

@staticmethod
Expand Down

0 comments on commit 9658940

Please sign in to comment.