Skip to content

Commit

Permalink
Updated run with user test
Browse files Browse the repository at this point in the history
  • Loading branch information
pkittenis committed Jan 31, 2017
1 parent 19ac84b commit e7791a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_pssh_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -982,7 +982,7 @@ def test_run_command_user_sudo(self):
self.client.join(output)
stderr = list(output[self.host].stderr)
self.assertTrue(len(stderr) > 0)
self.assertTrue(user in stderr[0])
self.assertTrue(output[self.host].exit_code == 1)

def test_run_command_shell(self):
output = self.client.run_command(self.fake_cmd, shell="bash -c")
Expand Down

0 comments on commit e7791a2

Please sign in to comment.