Skip to content

Commit

Permalink
test added for new remote execution features
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Depoix committed Jun 21, 2017
1 parent 45a8b88 commit 30555d4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions goto_cloud/remote_execution/tests/test_remote_execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ def test_execute__raise_no_exception_on_failure(self):
'Command Error'
)

def test_execute__don_t_block_for_response(self):
self.assertEqual(self.remote_executor.execute('successful_command', block_for_response=False), None)


@patch('paramiko.SSHClient.connect', connect_mock)
@patch('paramiko.SSHClient.connect', connect_mock)
Expand Down

0 comments on commit 30555d4

Please sign in to comment.