ansible/test/units/module_utils/basic
Pilou e9df2083a3 If check mode enabled and file missing set changed to true 32676 (#33967)
* basic.py: add mock to os.path.exists

* set_*_if_different: if check_mode enabled & file missing: set changed to True

Fixes #32676
Thanks to mscherer and Spredzy for the distributed triplet programming
session!
2018-01-04 20:33:14 -08:00
..
__init__.py
test__log_invocation.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test__symbolic_mode_to_octal.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_argument_spec.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_atomic_move.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_deprecate_warn.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_dict_converters.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_exit_json.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_filesystem.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_get_file_attributes.py AnsibleModule.get_file_attributes: add unit test 2017-12-18 15:49:25 -05:00
test_get_module_path.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_heuristic_log_sanitize.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_imports.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_log.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_no_log.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_platform_distribution.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_run_command.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_safe_eval.py Porting tests to pytest (#33387) 2017-12-05 12:43:13 -08:00
test_selinux.py Split basic units (#33510) 2017-12-18 10:17:13 -08:00
test_set_mode_if_different.py If check mode enabled and file missing set changed to true 32676 (#33967) 2018-01-04 20:33:14 -08:00