Skip to content

Commit

Permalink
Fix ssh unit test test_handle_routine_single_run_invalid_retcode
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Dec 29, 2023
1 parent d53a8c7 commit f14d79a
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion tests/pytests/unit/client/ssh/test_ssh.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit f14d79a

Please sign in to comment.