X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/80459d52161120ae8e33da140984d596271d5195..47eb67e4c084abde49d5463d4ced8b4436a59dfd:/sdk/cwl/tests/test_container.py diff --git a/sdk/cwl/tests/test_container.py b/sdk/cwl/tests/test_container.py index b1f5bfe901..c20693469a 100644 --- a/sdk/cwl/tests/test_container.py +++ b/sdk/cwl/tests/test_container.py @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: Apache-2.0 + import arvados_cwl from arvados_cwl.arvdocker import arv_docker_clear_cache import logging @@ -40,7 +44,8 @@ class TestContainer(unittest.TestCase): "inputs": [], "outputs": [], "baseCommand": "ls", - "arguments": [{"valueFrom": "$(runtime.outdir)"}] + "arguments": [{"valueFrom": "$(runtime.outdir)"}], + "id": "#" }) make_fs_access=functools.partial(arvados_cwl.CollectionFsAccess, collection_cache=arvados_cwl.CollectionCache(runner.api, None, 0)) @@ -120,7 +125,8 @@ class TestContainer(unittest.TestCase): "class": "http://arvados.org/cwl#ReuseRequirement", "enableReuse": False }], - "baseCommand": "ls" + "baseCommand": "ls", + "id": "#" }) make_fs_access=functools.partial(arvados_cwl.CollectionFsAccess, collection_cache=arvados_cwl.CollectionCache(runner.api, None, 0)) @@ -227,7 +233,8 @@ class TestContainer(unittest.TestCase): "location": "keep:99999999999999999999999999999995+99/subdir" } ] }], - "baseCommand": "ls" + "baseCommand": "ls", + "id": "#" }) make_fs_access=functools.partial(arvados_cwl.CollectionFsAccess, collection_cache=arvados_cwl.CollectionCache(runner.api, None, 0)) @@ -325,7 +332,8 @@ class TestContainer(unittest.TestCase): "stdout": "stdout.txt", "stderr": "stderr.txt", "stdin": "/keep/99999999999999999999999999999996+99/file.txt", - "arguments": [{"valueFrom": "$(runtime.outdir)"}] + "arguments": [{"valueFrom": "$(runtime.outdir)"}], + "id": "#" }) make_fs_access=functools.partial(arvados_cwl.CollectionFsAccess, collection_cache=arvados_cwl.CollectionCache(runner.api, None, 0)) @@ -445,7 +453,8 @@ class TestContainer(unittest.TestCase): ], "outputs": [], "baseCommand": "ls", - "arguments": [{"valueFrom": "$(runtime.outdir)"}] + "arguments": [{"valueFrom": "$(runtime.outdir)"}], + "id": "#" }) make_fs_access=functools.partial(arvados_cwl.CollectionFsAccess, collection_cache=arvados_cwl.CollectionCache(runner.api, None, 0))