Repository: incubator-ariatosca Updated Branches: refs/heads/ARIA-48-aria-cli 1bfefd178 -> 8b0e451ab
fixed ssh tests Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/8b0e451a Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/8b0e451a Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/8b0e451a Branch: refs/heads/ARIA-48-aria-cli Commit: 8b0e451ab3cb5dbb7dbab3c53aac6730c3ea3d64 Parents: 1bfefd1 Author: Ran Ziv <[email protected]> Authored: Tue Apr 18 16:05:24 2017 +0300 Committer: Ran Ziv <[email protected]> Committed: Tue Apr 18 16:05:24 2017 +0300 ---------------------------------------------------------------------- tests/orchestrator/execution_plugin/test_ssh.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/8b0e451a/tests/orchestrator/execution_plugin/test_ssh.py ---------------------------------------------------------------------- diff --git a/tests/orchestrator/execution_plugin/test_ssh.py b/tests/orchestrator/execution_plugin/test_ssh.py index dcfd88e..a75d59a 100644 --- a/tests/orchestrator/execution_plugin/test_ssh.py +++ b/tests/orchestrator/execution_plugin/test_ssh.py @@ -222,11 +222,13 @@ class TestWithActualSSHServer(object): 'fabric_env': _FABRIC_ENV, 'process': process, 'use_sudo': use_sudo, - 'hide_output': hide_output, 'custom_env_var': custom_input, 'test_operation': '', - 'commands': commands } + if hide_output: + inputs['hide_output'] = hide_output + if commands: + inputs['commands'] = commands interface = mock.models.create_interface( node.service, 'test',
