9766: Fix test to expect yaml text.
authorPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 14 Sep 2016 15:44:37 +0000 (11:44 -0400)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 14 Sep 2016 15:44:37 +0000 (11:44 -0400)
sdk/cwl/tests/wf/expect_packed.cwl

index 84b89afa4cb6b1a77d97befbb91d72f804a80e87..3545f34abb71f6e48fe75d0fbc28a16077e88e02 100644 (file)
@@ -1,60 +1,26 @@
-{
-    "$graph": [
-        {
-            "baseCommand": "cat",
-            "class": "CommandLineTool",
-            "id": "#submit_tool.cwl",
-            "inputs": [
-                {
-                    "default": {
-                        "class": "File",
-                        "location": "keep:99999999999999999999999999999991+99/tool/blub.txt"
-                    },
-                    "id": "#submit_tool.cwl/x",
-                    "inputBinding": {
-                        "position": 1
-                    },
-                    "type": "File"
-                }
-            ],
-            "outputs": [],
-            "requirements": [
-                {
-                    "class": "DockerRequirement",
-                    "dockerImageId": "debian:8",
-                    "dockerPull": "debian:8"
-                }
-            ]
-        },
-        {
-            "class": "Workflow",
-            "id": "#main",
-            "inputs": [
-                {
-                    "default": {
-                        "basename": "blorp.txt",
-                        "class": "File",
-                        "location": "keep:99999999999999999999999999999991+99/input/blorp.txt"
-                    },
-                    "id": "#main/x",
-                    "type": "File"
-                }
-            ],
-            "outputs": [],
-            "steps": [
-                {
-                    "id": "#main/step1",
-                    "in": [
-                        {
-                            "id": "#main/step1/x",
-                            "source": "#main/x"
-                        }
-                    ],
-                    "out": [],
-                    "run": "#submit_tool.cwl"
-                }
-            ]
-        }
-    ],
-    "cwlVersion": "v1.0"
-}
\ No newline at end of file
+$graph:
+- baseCommand: cat
+  class: CommandLineTool
+  id: '#submit_tool.cwl'
+  inputs:
+  - default: {class: File, location: 'keep:99999999999999999999999999999991+99/tool/blub.txt'}
+    id: '#submit_tool.cwl/x'
+    inputBinding: {position: 1}
+    type: File
+  outputs: []
+  requirements:
+  - {class: DockerRequirement, dockerImageId: 'debian:8', dockerPull: 'debian:8'}
+- class: Workflow
+  id: '#main'
+  inputs:
+  - default: {basename: blorp.txt, class: File, location: 'keep:99999999999999999999999999999991+99/input/blorp.txt'}
+    id: '#main/x'
+    type: File
+  outputs: []
+  steps:
+  - id: '#main/step1'
+    in:
+    - {id: '#main/step1/x', source: '#main/x'}
+    out: []
+    run: '#submit_tool.cwl'
+cwlVersion: v1.0