diff --git a/tests/unit/ssh/test_ssh.py b/tests/unit/ssh/test_ssh.py index 265a96f2a298..b80483b0b710 100644 --- a/tests/unit/ssh/test_ssh.py +++ b/tests/unit/ssh/test_ssh.py @@ -14,10 +14,12 @@ # Import Salt libs import salt.config +import salt.utils.path from salt.client import ssh @skipIf(NO_MOCK, NO_MOCK_REASON) +@skipIf(not salt.utils.path.which('ssh'), "No ssh binary found in path") class SSHPasswordTests(ShellCase): def test_password_failure(self): '''