Skip to content

Commit

Permalink
Switch to set comparison to fix a test dependent on unreliable order (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisher87 authored Aug 12, 2024
1 parent a77b685 commit 49501ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions icepyx/tests/test_quest_argo.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ def test_param_setter(argo_quest_instance):

reg_a.params = ["temperature", "salinity"]

exp = ["temperature", "salinity"]
assert reg_a.params == exp
exp = {"temperature", "salinity"}
assert set(reg_a.params) == exp


def test_param_setter_invalid_inputs(argo_quest_instance):
Expand Down

0 comments on commit 49501ec

Please sign in to comment.