X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d89fc97f4a7ee74edcb1a5856fec560c748b9086..refs/heads/9929-portable-manifest-text:/sdk/cwl/tests/test_submit.py diff --git a/sdk/cwl/tests/test_submit.py b/sdk/cwl/tests/test_submit.py index 2dff3e8f9d..d99a196ee3 100644 --- a/sdk/cwl/tests/test_submit.py +++ b/sdk/cwl/tests/test_submit.py @@ -55,7 +55,7 @@ def stubs(func): { "uuid": "zzzzz-4zz18-zzzzzzzzzzzzzz5", "portable_data_hash": "99999999999999999999999999999995+99", - "manifest_text": "" + "manifest_text": ". 8bfd9d5a8dc1a71ab286283f9ff6fa20+153 0:153:cwl.input.json" } ) stubs.api.collections().get().execute.return_value = { "portable_data_hash": "99999999999999999999999999999993+99", "manifest_text": "./tool 00000000000000000000000000000000+0 0:0:submit_tool.cwl 0:0:blub.txt"} @@ -156,8 +156,9 @@ class TestSubmit(unittest.TestCase): mock.call(body={'manifest_text': '. d41d8cd98f00b204e9800998ecf8427e+0 ' '0:0:blub.txt 0:0:submit_tool.cwl\n', 'owner_uuid': 'zzzzz-tpzed-zzzzzzzzzzzzzzz', - 'name': 'New collection'}, - ensure_unique_name=True), + 'name': 'New collection', + 'replication_desired': None, + }, ensure_unique_name=True), mock.call().execute(num_retries=4), mock.call(body={ 'manifest_text': @@ -215,8 +216,9 @@ class TestSubmit(unittest.TestCase): mock.call(body={'manifest_text': '. d41d8cd98f00b204e9800998ecf8427e+0 ' '0:0:blub.txt 0:0:submit_tool.cwl\n', 'owner_uuid': 'zzzzz-tpzed-zzzzzzzzzzzzzzz', - 'name': 'New collection'}, - ensure_unique_name=True), + 'name': 'New collection', + 'replication_desired': None, + }, ensure_unique_name=True), mock.call().execute(num_retries=4), mock.call(body={ 'manifest_text':