From fcdac0fbe5daa25a8206ac8495ec43b05bb48446 Mon Sep 17 00:00:00 2001 From: Peter Amstutz Date: Wed, 14 Sep 2016 11:44:37 -0400 Subject: [PATCH] 9766: Fix test to expect yaml text. --- sdk/cwl/tests/wf/expect_packed.cwl | 86 +++++++++--------------------- 1 file changed, 26 insertions(+), 60 deletions(-) diff --git a/sdk/cwl/tests/wf/expect_packed.cwl b/sdk/cwl/tests/wf/expect_packed.cwl index 84b89afa4c..3545f34abb 100644 --- a/sdk/cwl/tests/wf/expect_packed.cwl +++ b/sdk/cwl/tests/wf/expect_packed.cwl @@ -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 -- 2.39.5