Remove retry command execute for noninteractive Shell.exec()

Signed-off-by: Vladimir Avdeev <v.avdeev@yadro.com>
This commit is contained in:
Vladimir Avdeev 2022-12-08 10:42:45 +03:00 committed by Vladimir Avdeev
parent 631a62eecf
commit efdc7cf90a
2 changed files with 27 additions and 56 deletions

View file

@ -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):