Fix ssh unit test test_handle_routine_single_run_invalid_retcode

This commit is contained in:
Daniel A. Wozniak 2023-12-28 23:53:40 -07:00 committed by Daniel Wozniak
parent d53a8c74ba
commit f14d79af73

View file

@ -500,7 +500,13 @@ def test_handle_routine_single_run_invalid_retcode(opts, target, caplog):
(
{
"id": "localhost",
"ret": "Something went seriously wrong",
"ret": {
"stdout": "",
"stderr": "Something went seriously wrong",
"retcode": 1,
"parsed": None,
"_error": "The command resulted in a non-zero exit code",
},
},
1,
)