Remove retry command execute for noninteractive Shell.exec()
Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
This commit is contained in:
parent
631a62eecf
commit
efdc7cf90a
2 changed files with 27 additions and 56 deletions
|
@ -72,7 +72,7 @@ class TestLocalShellInteractive(TestCase):
|
|||
self.shell.exec("not-a-command", CommandOptions(interactive_inputs=inputs))
|
||||
|
||||
error = format_error_details(exc.exception)
|
||||
self.assertIn("return code: 127", error)
|
||||
self.assertIn("The command was not found", error)
|
||||
|
||||
|
||||
class TestLocalShellNonInteractive(TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue