From 4166a8ba925abaaa63ec18dcd89ea68e061cee87 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Thu, 28 Mar 2024 13:53:50 +0000 Subject: [PATCH] For now, ignore the host keys --- tests/pytests/integration/netapi/test_ssh_client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/pytests/integration/netapi/test_ssh_client.py b/tests/pytests/integration/netapi/test_ssh_client.py index 11f25d9bd47..189ba0a8265 100644 --- a/tests/pytests/integration/netapi/test_ssh_client.py +++ b/tests/pytests/integration/netapi/test_ssh_client.py @@ -198,6 +198,7 @@ def test_shell_inject_tgt(client, salt_ssh_roster_file, tmp_path, salt_auto_acco "eauth": "auto", "username": salt_auto_account.username, "password": salt_auto_account.password, + "ignore_host_keys": True, } ret = client.run(low) assert path.exists() is False @@ -252,6 +253,7 @@ def test_shell_inject_ssh_port( "roster_file": str(salt_ssh_roster_file), "rosters": "/", "ssh_port": f"hhhhh|id>{path} #", + "ignore_host_keys": True, } ret = client.run(low) assert path.exists() is False