We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19ac84b commit e7791a2Copy full SHA for e7791a2
tests/test_pssh_client.py
@@ -982,7 +982,7 @@ def test_run_command_user_sudo(self):
982
self.client.join(output)
983
stderr = list(output[self.host].stderr)
984
self.assertTrue(len(stderr) > 0)
985
- self.assertTrue(user in stderr[0])
+ self.assertTrue(output[self.host].exit_code == 1)
986
987
def test_run_command_shell(self):
988
output = self.client.run_command(self.fake_cmd, shell="bash -c")
0 commit comments