diff --git a/tests/integration/factories/daemons/ssh/test_salt_ssh.py b/tests/integration/factories/daemons/ssh/test_salt_ssh.py index 2e8fbed1..3c063947 100644 --- a/tests/integration/factories/daemons/ssh/test_salt_ssh.py +++ b/tests/integration/factories/daemons/ssh/test_salt_ssh.py @@ -15,7 +15,6 @@ @pytest.fixture(scope="module") -@pytest.mark.skip_if_binaries_missing("sshd", "ssh-keygen") def sshd(salt_factories): # Set StrictModes to no because our config directory lives in /tmp and those permissions # are not acceptable by sshd strict paranoia. @@ -54,6 +53,7 @@ def salt_ssh_cli(sshd, salt_factories, master): @pytest.mark.skip_on_windows +@pytest.mark.skip_if_binaries_missing("ssh", "sshd", "ssh-keygen") def test_salt_ssh(salt_ssh_cli): ret = salt_ssh_cli.run("test.echo", "It Works!", minion_tgt="localhost") assert ret.returncode == 0 diff --git a/tests/integration/factories/daemons/sshd/test_sshd.py b/tests/integration/factories/daemons/sshd/test_sshd.py index 873a8dd2..0b4076bc 100644 --- a/tests/integration/factories/daemons/sshd/test_sshd.py +++ b/tests/integration/factories/daemons/sshd/test_sshd.py @@ -37,7 +37,7 @@ def test_sshd(sshd): @pytest.mark.skip_on_windows -@pytest.mark.skip_if_binaries_missing("ssh") +@pytest.mark.skip_if_binaries_missing("ssh", "sshd", "ssh-keygen") def test_connect(sshd, known_hosts_file): ssh = shutil.which("ssh") assert ssh is not None