For now, ignore the host keys

This commit is contained in:
Pedro Algarvio 2024-03-28 13:53:50 +00:00
parent 7f98810ea6
commit 4166a8ba92
No known key found for this signature in database
GPG key ID: BB36BF6584A298FF

View file

@ -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