diff --git a/taskcluster/test/test_transforms_integration_test.py b/taskcluster/test/test_transforms_integration_test.py index 69e1eea3..0b2b5ef3 100644 --- a/taskcluster/test/test_transforms_integration_test.py +++ b/taskcluster/test/test_transforms_integration_test.py @@ -379,7 +379,7 @@ def run_include_deps_test(run_test, *args, **kwargs): "taskId": "ghi", "path": "public/image.tar.zst", }, - "command": ["run-task", "build-a-thing"], + "command": ["run-task", "build-a-thing", "foo"], }, "tags": {}, }, @@ -394,7 +394,7 @@ def run_include_deps_test(run_test, *args, **kwargs): "taskId": "jkl", "path": "public/image.tar.zst", }, - "command": ["run-task", "test-a-thing"], + "command": ["run-task", "test-a-thing", "foo"], "env": { "MOZ_FETCHES": json.dumps( [ @@ -420,7 +420,7 @@ def run_include_deps_test(run_test, *args, **kwargs): "taskId": "mno", "path": "public/image.tar.zst", }, - "command": ["run-task", "sign-a-thing"], + "command": ["run-task", "sign-a-thing", "foo"], "env": { "MOZ_FETCHES": json.dumps( [ @@ -502,11 +502,11 @@ def test_include_some_deps(run_test): "taskId": task_id, "path": artifact, }, - "command": ["run-task", "foo"], + "command": ["run-task", "foo", "bar"], }, }, }, - include_deps=["^sign", "^test"], + include_deps=["^(?!(build))"], name="gecko", ) expected = set(["gecko-foo", "gecko-test-thing", "gecko-sign-thing"]) @@ -521,6 +521,8 @@ def test_include_some_deps(run_test): in sign_task["task"]["payload"]["env"]["MOZ_FETCHES"]["task-reference"] ) assert "TASKCLUSTER_ROOT_URL" in test_task["task"]["payload"]["command"][2] + assert "TASKCLUSTER_ROOT_URL" not in sign_task["task"]["payload"]["command"][2] + assert "TASKCLUSTER_ROOT_URL" not in foo_task["task"]["payload"]["command"][2] def test_no_deps(run_test):