[ARVADOS] updated: 1e6d7656fbfd1f954571157fc7e7e4f75ea5911e

Git user git at public.curoverse.com
Thu Nov 10 12:53:33 EST 2016


Summary of changes:
 sdk/cwl/tests/test_make_output.py | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

       via  1e6d7656fbfd1f954571157fc7e7e4f75ea5911e (commit)
      from  79786a56410ef381499fb0bfdc5a18407ab33082 (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 1e6d7656fbfd1f954571157fc7e7e4f75ea5911e
Author: Jiayong Li <jiayong at math.mit.edu>
Date:   Thu Nov 10 12:53:28 2016 -0500

    Fix typo and modify test

diff --git a/sdk/cwl/tests/test_make_output.py b/sdk/cwl/tests/test_make_output.py
index d818cca..153de7b 100644
--- a/sdk/cwl/tests/test_make_output.py
+++ b/sdk/cwl/tests/test_make_output.py
@@ -27,14 +27,14 @@ class TestMakeOutput(unittest.TestCase):
         readermock = mock.MagicMock()
         reader.return_value = readermock
 
-        final_uuid = final.manifest_locater()
+        final_uuid = final.manifest_locator()
 
         cwlout = StringIO.StringIO()
         openmock = mock.MagicMock()
         final.open.return_value = openmock
         openmock.__enter__.return_value = cwlout
 
-        runner.make_output_collection("Test output", "tag0", {
+        runner.make_output_collection("Test output", "tag0,tag1,tag2", {
             "foo": {
                 "class": "File",
                 "location": "keep:99999999999999999999999999999991+99/foo.txt",
@@ -63,5 +63,7 @@ class TestMakeOutput(unittest.TestCase):
 }""", cwlout.getvalue())
 
         self.assertIs(final, runner.final_output_collection)
-        self.assertIs(final_uuid, runner.final_output_collection.manifest_locater())
+        self.assertIs(final_uuid, runner.final_output_collection.manifest_locator())
         self.api.links().create.assert_has_calls([mock.call(body={"head_uuid": final_uuid, "link_class": "tag", "name": "tag0"}), mock.call().execute()])
+        self.api.links().create.assert_has_calls([mock.call(body={"head_uuid": final_uuid, "link_class": "tag", "name": "tag1"}), mock.call().execute()])
+        self.api.links().create.assert_has_calls([mock.call(body={"head_uuid": final_uuid, "link_class": "tag", "name": "tag2"}), mock.call().execute()])

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list