forked from mirrors/gecko-dev
Bug 1884280 - sort result and expected tasks before comparing. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D204150
This commit is contained in:
parent
a1ec0a1e69
commit
b05724c59f
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ def test_query_paths_variants(run_mach, capfd, variant):
|
||||||
index = output.find(delim)
|
index = output.find(delim)
|
||||||
result = json.loads(output[index + len(delim) :])
|
result = json.loads(output[index + len(delim) :])
|
||||||
tasks = result["parameters"]["try_task_config"]["tasks"]
|
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")
|
@pytest.mark.skipif(os.name == "nt", reason="fzf not installed on host")
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue