Bug 1884280 - sort result and expected tasks before comparing. r=gbrown

Differential Revision: https://phabricator.services.mozilla.com/D204150
This commit is contained in:
Joel Maher 2024-03-11 15:19:21 +00:00
parent a1ec0a1e69
commit b05724c59f

View file

@ -98,7 +98,7 @@ def test_query_paths_variants(run_mach, capfd, variant):
index = output.find(delim)
result = json.loads(output[index + len(delim) :])
tasks = result["parameters"]["try_task_config"]["tasks"]
assert tasks == expected
assert sorted(tasks) == sorted(expected)
@pytest.mark.skipif(os.name == "nt", reason="fzf not installed on host")