From 008f479c3b42ead74cd4f117b35e90df981e05ca Mon Sep 17 00:00:00 2001 From: "Daniel A. Wozniak" Date: Tue, 26 Dec 2023 23:57:19 -0700 Subject: [PATCH] Fix broken ssh test --- tests/pytests/integration/netapi/test_ssh_client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/pytests/integration/netapi/test_ssh_client.py b/tests/pytests/integration/netapi/test_ssh_client.py index 2713fa9a87ec..1c924430da95 100644 --- a/tests/pytests/integration/netapi/test_ssh_client.py +++ b/tests/pytests/integration/netapi/test_ssh_client.py @@ -211,7 +211,8 @@ 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(