X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/90c48f84391d6b4d6b8ed366d5a42d24bf6c696f..b8977c89db2707dd713cd4eeb11d595717fcff75:/sdk/cwl/tests/test_make_output.py diff --git a/sdk/cwl/tests/test_make_output.py b/sdk/cwl/tests/test_make_output.py index a1cb605bfc..05c9ee7410 100644 --- a/sdk/cwl/tests/test_make_output.py +++ b/sdk/cwl/tests/test_make_output.py @@ -1,3 +1,7 @@ +# Copyright (C) The Arvados Authors. All rights reserved. +# +# SPDX-License-Identifier: Apache-2.0 + import functools import json import logging @@ -35,7 +39,7 @@ class TestMakeOutput(unittest.TestCase): final.open.return_value = openmock openmock.__enter__.return_value = cwlout - runner.make_output_collection("Test output", "tag0,tag1,tag2", { + _, runner.final_output_collection = runner.make_output_collection("Test output", "tag0,tag1,tag2", { "foo": { "class": "File", "location": "keep:99999999999999999999999999999991+99/foo.txt", @@ -45,7 +49,8 @@ class TestMakeOutput(unittest.TestCase): "bar": { "class": "File", "location": "keep:99999999999999999999999999999992+99/bar.txt", - "basename": "baz.txt" + "basename": "baz.txt", + "size": 4 } }) @@ -55,11 +60,13 @@ class TestMakeOutput(unittest.TestCase): self.assertEqual("""{ "bar": { "class": "File", - "location": "baz.txt" + "location": "baz.txt", + "size": 4 }, "foo": { "class": "File", - "location": "foo.txt" + "location": "foo.txt", + "size": 3 } }""", cwlout.getvalue())