1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/units
Dag Wieers 0e160d5c7e Ensure exit_json returns failed = False
This is required for modules that may return a non-zero `rc` value for a
successful run, similar to #24865 for Windows fixing **win_chocolatey**.

We also disable the dependency on `rc` value only, even if `failed` was
set.

Adapted unit and integration tests to the new scheme.
Updated raw, shell, script, expect to take `rc` into account.
2017-05-30 14:56:31 -07:00
..
cli test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
contrib test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
errors test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
executor test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
inventory test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 2015-05-28 15:26:03 -05:00
mock test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
module_utils Ensure exit_json returns failed = False 2017-05-30 14:56:31 -07:00
modules Assorted nxos_bgp_* fixes (#25080) 2017-05-30 14:11:15 -04:00
parsing test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
playbook test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
plugins test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
template test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
utils test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
vars test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
__init__.py Add empty-init code-smell script. (#18406) 2016-11-07 15:02:13 -08:00
conftest.py Fix bugs in ansible-test units command. (#24044) 2017-04-27 11:21:11 +08:00
test_constants.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00