projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '11333-cwl-phone-home' closes #11333
[arvados.git]
/
sdk
/
cwl
/
tests
/
test_submit.py
diff --git
a/sdk/cwl/tests/test_submit.py
b/sdk/cwl/tests/test_submit.py
index cab18dcc98f1de0fa78b12b110b70d8b96854411..9982f6ffd5955109904ed2fc726c0d0b35d495ec 100644
(file)
--- a/
sdk/cwl/tests/test_submit.py
+++ b/
sdk/cwl/tests/test_submit.py
@@
-249,17
+249,17
@@
class TestSubmit(unittest.TestCase):
mock.call(body=JsonDiffMatcher({
'manifest_text':
'. 5bcc9fe8f8d5992e6cf418dc7ce4dbb3+16 0:16:blub.txt\n',
mock.call(body=JsonDiffMatcher({
'manifest_text':
'. 5bcc9fe8f8d5992e6cf418dc7ce4dbb3+16 0:16:blub.txt\n',
- '
owner_uui
d': None,
+ '
replication_desire
d': None,
'name': 'submit_tool.cwl dependencies',
}), ensure_unique_name=True),
'name': 'submit_tool.cwl dependencies',
}), ensure_unique_name=True),
- mock.call().execute(),
+ mock.call().execute(
num_retries=4
),
mock.call(body=JsonDiffMatcher({
'manifest_text':
'. 979af1245a12a1fed634d4222473bfdc+16 0:16:blorp.txt\n',
mock.call(body=JsonDiffMatcher({
'manifest_text':
'. 979af1245a12a1fed634d4222473bfdc+16 0:16:blorp.txt\n',
- '
owner_uui
d': None,
+ '
replication_desire
d': None,
'name': 'submit_wf.cwl input',
}), ensure_unique_name=True),
'name': 'submit_wf.cwl input',
}), ensure_unique_name=True),
- mock.call().execute()])
+ mock.call().execute(
num_retries=4
)])
arvdock.assert_has_calls([
mock.call(stubs.api, {"class": "DockerRequirement", "dockerPull": "debian:8"}, True, None),
arvdock.assert_has_calls([
mock.call(stubs.api, {"class": "DockerRequirement", "dockerPull": "debian:8"}, True, None),
@@
-432,17
+432,17
@@
class TestSubmit(unittest.TestCase):
mock.call(body=JsonDiffMatcher({
'manifest_text':
'. 5bcc9fe8f8d5992e6cf418dc7ce4dbb3+16 0:16:blub.txt\n',
mock.call(body=JsonDiffMatcher({
'manifest_text':
'. 5bcc9fe8f8d5992e6cf418dc7ce4dbb3+16 0:16:blub.txt\n',
- '
owner_uui
d': None,
+ '
replication_desire
d': None,
'name': 'submit_tool.cwl dependencies',
}), ensure_unique_name=True),
'name': 'submit_tool.cwl dependencies',
}), ensure_unique_name=True),
- mock.call().execute(),
+ mock.call().execute(
num_retries=4
),
mock.call(body=JsonDiffMatcher({
'manifest_text':
'. 979af1245a12a1fed634d4222473bfdc+16 0:16:blorp.txt\n',
mock.call(body=JsonDiffMatcher({
'manifest_text':
'. 979af1245a12a1fed634d4222473bfdc+16 0:16:blorp.txt\n',
- '
owner_uui
d': None,
+ '
replication_desire
d': None,
'name': 'submit_wf.cwl input',
}), ensure_unique_name=True),
'name': 'submit_wf.cwl input',
}), ensure_unique_name=True),
- mock.call().execute()])
+ mock.call().execute(
num_retries=4
)])
expect_container = copy.deepcopy(stubs.expect_container_spec)
stubs.api.container_requests().create.assert_called_with(
expect_container = copy.deepcopy(stubs.expect_container_spec)
stubs.api.container_requests().create.assert_called_with(