Bug 1692421 - Update fuzzy test to use the Python 3 taskgraph tests task instead of the Python 2 one. r=jmaher DONTBUILD

The Python 2 taskgraph tests task was removed in bug 1691731.

Differential Revision: https://phabricator.services.mozilla.com/D104985
This commit is contained in:
Marco Castelluccio 2021-02-12 13:19:39 +00:00
parent 0bf19f3ba0
commit 1237bc5325

View File

@ -37,7 +37,7 @@ def test_query_paths(run_mach, capfd):
@pytest.mark.skipif(os.name == "nt", reason="fzf not installed on host")
def test_query(run_mach, capfd):
cmd = ["try", "fuzzy", "--no-push", "-q", "'source-test-python-taskgraph-tests-py2"]
cmd = ["try", "fuzzy", "--no-push", "-q", "'source-test-python-taskgraph-tests-py3"]
assert run_mach(cmd) == 0
output = capfd.readouterr().out
@ -46,7 +46,7 @@ def test_query(run_mach, capfd):
# Should only ever mach one task exactly.
expected = """
"tasks": [
"source-test-python-taskgraph-tests-py2"
"source-test-python-taskgraph-tests-py3"
]""".lstrip()
assert expected in output