From 9f1ae6982d6fba5ec9615d1c209b93c3ec06b138 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 | 5 ++++- 1 file changed, 4 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..7b32ee83d618 100644 --- a/tests/pytests/integration/netapi/test_ssh_client.py +++ b/tests/pytests/integration/netapi/test_ssh_client.py @@ -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(