Skip to content

Commit

Permalink
chore(style): Use set for set inclusion condition
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Sep 27, 2024
1 parent 890f522 commit e174d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/commands/test_fetch_awards.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def compare_objects(instance, expected):
case "size":
assert value == models.BorrowerSize.NOT_INFORMED
case "status":
assert value in (models.BorrowerStatus.ACTIVE, models.ApplicationStatus.PENDING)
assert value in {models.BorrowerStatus.ACTIVE, models.ApplicationStatus.PENDING}
case _:
assert value == expected[key], f"{instance.__class__.__name__}.{key}"

Expand Down

0 comments on commit e174d64

Please sign in to comment.