Skip to content

Commit

Permalink
Fix broken ssh test
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Dec 27, 2023
1 parent 5c83db6 commit 9f1ae69
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/pytests/integration/netapi/test_ssh_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,10 @@ def test_shell_inject_ssh_options(
}
ret = client.run(low)
assert path.exists() is False
assert "bad configuration option" in ret["127.0.0.1"]
assert (
"Bad configuration option" in ret["127.0.0.1"]
or "no argument after keyword" in ret["127.0.0.1"]
)


def test_shell_inject_ssh_port(
Expand Down

0 comments on commit 9f1ae69

Please sign in to comment.