[ARVADOS] updated: 1.3.0-931-g0559157e0

Git user git at public.curoverse.com
Mon May 20 20:42:23 UTC 2019


Summary of changes:
 sdk/cwl/tests/test_container.py | 2 +-
 sdk/cwl/tests/test_submit.py    | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

       via  0559157e003b8f3611014142dfee4ed15d0ddc8f (commit)
      from  c03195617369efedab9e14392c5ed14bb8700590 (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 0559157e003b8f3611014142dfee4ed15d0ddc8f
Author: Peter Amstutz <pamstutz at veritasgenetics.com>
Date:   Mon May 20 16:42:11 2019 -0400

    Fix cwl tests refs #15241
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <pamstutz at veritasgenetics.com>

diff --git a/sdk/cwl/tests/test_container.py b/sdk/cwl/tests/test_container.py
index 07d962bf9..3ddfd358a 100644
--- a/sdk/cwl/tests/test_container.py
+++ b/sdk/cwl/tests/test_container.py
@@ -324,7 +324,7 @@ class TestContainer(unittest.TestCase):
         call_args, call_kwargs = runner.api.container_requests().create.call_args
 
         vwdmock.copy.assert_has_calls([mock.call('bar', 'foo', source_collection=sourcemock)])
-        vwdmock.copy.assert_has_calls([mock.call('', 'foo2', source_collection=sourcemock)])
+        vwdmock.copy.assert_has_calls([mock.call('.', 'foo2', source_collection=sourcemock)])
         vwdmock.copy.assert_has_calls([mock.call('baz/filename', 'filename', source_collection=sourcemock)])
         vwdmock.copy.assert_has_calls([mock.call('subdir', 'subdir', source_collection=sourcemock)])
 
diff --git a/sdk/cwl/tests/test_submit.py b/sdk/cwl/tests/test_submit.py
index 9535f6ba2..f11186950 100644
--- a/sdk/cwl/tests/test_submit.py
+++ b/sdk/cwl/tests/test_submit.py
@@ -1394,6 +1394,7 @@ class TestSubmit(unittest.TestCase):
 
     @stubs
     def test_submit_request_uuid(self, stubs):
+        stubs.api._rootDesc["remoteHosts"]["zzzzz"] = "123"
         stubs.expect_container_request_uuid = "zzzzz-xvhdp-yyyyyyyyyyyyyyy"
 
         stubs.api.container_requests().update().execute.return_value = {

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list