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/module_utils/basic
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
..
__init__.py AnsibleModules.log() fix for python3 2015-10-12 13:30:27 -07:00
test__log_invocation.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_deprecate_warn.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_exit_json.py Ensure exit_json returns failed = False 2017-05-30 14:56:31 -07:00
test_heuristic_log_sanitize.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_log.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_no_log.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_run_command.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_safe_eval.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
test_set_mode_if_different.py test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00