[ARVADOS] updated: 2.1.0-1181-g1521969d1
Git user
git at public.arvados.org
Thu Aug 12 19:43:29 UTC 2021
Summary of changes:
sdk/cwl/tests/test_submit.py | 6 ++++++
1 file changed, 6 insertions(+)
via 1521969d1475ab6854d1f9987fdaa1f66a1cbaab (commit)
from 74aa79ebb951a915a8f5aba49852a0119835c579 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit 1521969d1475ab6854d1f9987fdaa1f66a1cbaab
Author: Peter Amstutz <peter.amstutz at curii.com>
Date: Thu Aug 12 15:43:18 2021 -0400
17984: Fix tests
Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>
diff --git a/sdk/cwl/tests/test_submit.py b/sdk/cwl/tests/test_submit.py
index 29d27544e..6cf59f25e 100644
--- a/sdk/cwl/tests/test_submit.py
+++ b/sdk/cwl/tests/test_submit.py
@@ -853,6 +853,7 @@ class TestSubmit(unittest.TestCase):
@stubs
def test_submit_container_project(self, stubs):
project_uuid = 'zzzzz-j7d0g-zzzzzzzzzzzzzzz'
+ stubs.api.groups().get().execute.return_value = {"group_class": "project"}
exited = arvados_cwl.main(
["--submit", "--no-wait", "--api=containers", "--debug", "--project-uuid="+project_uuid,
"tests/wf/submit_wf.cwl", "tests/submit_test_job.json"],
@@ -1392,6 +1393,7 @@ class TestCreateWorkflow(unittest.TestCase):
@stubs
def test_create(self, stubs):
project_uuid = 'zzzzz-j7d0g-zzzzzzzzzzzzzzz'
+ stubs.api.groups().get().execute.return_value = {"group_class": "project"}
exited = arvados_cwl.main(
["--create-workflow", "--debug",
@@ -1421,6 +1423,7 @@ class TestCreateWorkflow(unittest.TestCase):
@stubs
def test_create_name(self, stubs):
project_uuid = 'zzzzz-j7d0g-zzzzzzzzzzzzzzz'
+ stubs.api.groups().get().execute.return_value = {"group_class": "project"}
exited = arvados_cwl.main(
["--create-workflow", "--debug",
@@ -1496,6 +1499,7 @@ class TestCreateWorkflow(unittest.TestCase):
@stubs
def test_create_collection_per_tool(self, stubs):
project_uuid = 'zzzzz-j7d0g-zzzzzzzzzzzzzzz'
+ stubs.api.groups().get().execute.return_value = {"group_class": "project"}
exited = arvados_cwl.main(
["--create-workflow", "--debug",
@@ -1525,6 +1529,7 @@ class TestCreateWorkflow(unittest.TestCase):
@stubs
def test_create_with_imports(self, stubs):
project_uuid = 'zzzzz-j7d0g-zzzzzzzzzzzzzzz'
+ stubs.api.groups().get().execute.return_value = {"group_class": "project"}
exited = arvados_cwl.main(
["--create-workflow", "--debug",
@@ -1543,6 +1548,7 @@ class TestCreateWorkflow(unittest.TestCase):
@stubs
def test_create_with_no_input(self, stubs):
project_uuid = 'zzzzz-j7d0g-zzzzzzzzzzzzzzz'
+ stubs.api.groups().get().execute.return_value = {"group_class": "project"}
exited = arvados_cwl.main(
["--create-workflow", "--debug",
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list