salt/tests/unit
Benjamin Drung 3d6f658309 Skip SSHPasswordTests if ssh binary is not found
If the ssh binary is not found in path, SSHPasswordTests will fail:

ERROR: test_password_failure (unit.ssh.test_ssh.SSHPasswordTests)
[CPU:0.0%|MEM:54.9%]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/unit/ssh/test_ssh.py", line 42, in test_password_failure
    client = ssh.SSH(opts)
  File "salt/client/ssh/__init__.py", line 226, in __init__
    raise salt.exceptions.SaltSystemExit('No ssh binary found in path -- ssh must be '
salt.exceptions.SaltSystemExit: None

Either SSHPasswordTests needs to be converted into a real unit test
(i.e. mocking the salt call) or this tests needs to be skipped if ssh is
not available.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
2018-03-07 16:36:06 +01:00
..
acl
auth fix pylint 2018-02-13 07:45:13 -07:00
beacons Skip test_load_match on Windows 2018-01-08 14:31:46 -07:00
cache Merge branch '2017.7' into 'oxygen' 2018-02-08 11:23:31 -05:00
cli [PY3] Add unicode_literals to cache and cli modules 2018-01-13 21:08:51 -06:00
cloud Update refrences to Oxygen codename to 2018.3.0 2018-02-21 21:47:41 -06:00
config Fix master conf test for PY3 2018-03-02 11:06:13 -06:00
daemons Distinguish between Authorization and Authentication errors 2018-01-23 17:05:22 -05:00
engines Add unicode_literals to engines 2018-01-07 14:01:48 -06:00
files fix test boto imports 2018-01-18 14:56:27 -07:00
fileserver Remove unused imports 2018-02-07 14:44:15 -06:00
grains Update old utils paths to new paths 2018-02-27 17:20:45 -05:00
loader Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
modules Merge branch '2017.7' into merge-2017.7-2018.3 2018-03-02 16:20:20 -06:00
netapi Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
output Replace json module usage with a helper to ensure unicode content is handled properly 2017-12-27 09:30:58 -06:00
pillar Fix paths 2018-01-25 00:43:43 +00:00
proxy Add unicode_literals to tops, thorium, proxy, tokens 2017-12-14 21:56:49 -06:00
renderers [PY3] Add unicode_literals to renderers and returners 2017-12-15 00:17:26 -06:00
returners Mock file_client call in smtp return test 2018-02-27 16:36:38 -05:00
runners Add unicode_literals to runner modules 2017-12-14 19:30:14 -06:00
sdb [PY3] Add unicode_literals to sdb and serializers 2017-12-28 13:18:00 -06:00
serializers Fix difference between CSafeDumper and Dumper in yaml serializer test 2018-01-23 19:34:25 -06:00
ssh Skip SSHPasswordTests if ssh binary is not found 2018-03-07 16:36:06 +01:00
states Merge branch '2017.7' into merge-2017.7-2018.3 2018-03-02 16:20:20 -06:00
templates Lint: fix from a bad merge 2018-02-28 09:18:27 -05:00
transport [PY3] Add unicode_literals to transports 2017-12-28 17:10:42 -06:00
utils Merge branch '2018.3.0rc1' into '2018.3' 2018-03-02 14:22:07 -05:00
__init__.py
test_auth.py [PY3] Add unicode_literals to acl, auth, and netapi modules 2018-01-05 10:31:11 -06:00
test_client.py [PY3] Add print_function import to files with unicode_literals already added 2017-12-15 12:14:18 -06:00
test_conf.py
test_context.py Replace json module usage with a helper to ensure unicode content is handled properly 2017-12-27 09:30:58 -06:00
test_crypt.py Use binary data for clear token. 2018-01-25 20:32:00 +03:00
test_daemons.py Improve robustness of daemons unit tests 2018-01-20 22:49:02 -06:00
test_doc.py Merge branch '2017.7' into 'develop' 2017-11-13 12:27:59 -05:00
test_fileclient.py
test_files.py
test_log.py
test_map_conf.py
test_master.py Distinguish between Authorization and Authentication errors 2018-01-23 17:05:22 -05:00
test_minion.py Ubuntu 14 test fixes 2018-01-24 15:39:08 -06:00
test_payload.py Payload Py3 fix and set handling. 2018-03-02 06:01:42 +03:00
test_pillar.py Merge branch '2017.7' into 'oxygen' 2018-01-11 16:00:08 -05:00
test_pydsl.py Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
test_pyobjects.py
test_simple.py
test_spm.py
test_ssh_config_roster.py Complete the salt.utils refactor 2017-10-15 09:43:31 -05:00
test_state.py Refactor unit tests so they call class-based decorator 2018-01-17 14:13:25 +01:00
test_stateconf.py
test_target.py Merge branch '2016.11' into '2017.7' 2017-12-28 12:15:54 -05:00
test_template.py [PY3] Add print_function import to files with unicode_literals already added 2017-12-15 12:14:18 -06:00
test_test_module_names.py Replace os.walk with a helper function 2017-12-13 16:38:12 -06:00
test_transport.py
test_version.py
test_zypp_plugins.py