9463: Updated CWL tests to match Collection new behaviour.
authorLucas Di Pentima <lucas@curoverse.com>
Fri, 26 Aug 2016 18:09:18 +0000 (15:09 -0300)
committerLucas Di Pentima <lucas@curoverse.com>
Fri, 26 Aug 2016 18:09:18 +0000 (15:09 -0300)
sdk/cwl/tests/test_submit.py

index 2dff3e8f9dbe422a7ca6e95037384cc4618c920b..21be5c71b9f904668c4813f57958edca4216e134 100644 (file)
@@ -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':