Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
add a test of shortcut succeeding
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-burnett committed Jun 3, 2014
1 parent bdeee62 commit 599c76a
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/api/v1/system_tests/shortcut_success/result.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"outputs": {
"out_a": "kittens"
}
}
38 changes: 38 additions & 0 deletions tests/api/v1/system_tests/shortcut_success/submit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"operations": {
"A": {
"type": "command",
"methods": [
{
"name": "shortcut",
"command_line": ["cat"]
},
{
"name": "execute",
"command_line": ["false"]
}
]
}
},

"links": [
{
"source": "input connector",
"destination": "A",
"source_property": "in_a",
"destination_property": "param"
},
{
"source": "A",
"destination": "output connector",
"source_property": "param",
"destination_property": "out_a"
}
],

"inputs": {
"in_a": "kittens"
},

"environment": {}
}

0 comments on commit 599c76a

Please sign in to comment.