Skip to content

Commit

Permalink
fix(api): fix response type
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-schultz committed Oct 18, 2024
1 parent d4fa651 commit f2d3580
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/v2/test/test_passport_submission.py
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ def test_submitting_without_passport(self, aget_passport, validate_credential):
assert response.json() == {
"address": self.account.address.lower(),
"score": None,
"score_pass": False,
"passing_score": False,
"threshold": "20",
"last_score_timestamp": None,
"expiration_timestamp": None,
Expand All @@ -465,7 +465,7 @@ def test_submit_passport_multiple_times(
expectedResponse = {
"address": "0xb81c935d01e734b3d8bb233f5c4e1d72dbc30f6c",
"score": Decimal("0.9329999999999999960031971113"),
"score_pass": False,
"passing_score": False,
"last_score_timestamp": "2023-01-11T16:35:23.938006+00:00",
"expiration_timestamp": mock_passport_expiration_date.isoformat(),
"threshold": "20",
Expand All @@ -476,7 +476,7 @@ def test_submit_passport_multiple_times(
expected2ndResponse = {
"address": "0xb81c935d01e734b3d8bb233f5c4e1d72dbc30f6c",
"score": Decimal("0.9329999999999999960031971113"),
"score_pass": False,
"passing_score": False,
"last_score_timestamp": "2023-01-11T16:35:23.938006+00:00",
"expiration_timestamp": mock_passport_expiration_date.isoformat(),
"threshold": "20",
Expand Down

0 comments on commit f2d3580

Please sign in to comment.