ansible/test/units/module_utils/basic
Felix Fontein 4a574c4d0c Option parsing: warn if both an option and its alias are specified for a module (#53698)
* Print warning when both an option and its alias is specified.

* Improve output.

* Put warnings into self._warnings directly, resp. use self.warn() when handling subspecs.

* Add changelog.

* Add unit test.
2019-07-19 13:11:41 -04:00
..
__init__.py
test__log_invocation.py
test__symbolic_mode_to_octal.py
test_argument_spec.py Option parsing: warn if both an option and its alias are specified for a module (#53698) 2019-07-19 13:11:41 -04:00
test_atomic_move.py Move _handle_aliases() out of basic.py (#48578) 2019-02-28 16:43:19 -05:00
test_deprecate_warn.py
test_dict_converters.py
test_exit_json.py
test_filesystem.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_get_file_attributes.py
test_get_module_path.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_heuristic_log_sanitize.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_imports.py Move type checking methods out of basic.py and add unit tests (#53687) 2019-03-21 09:40:19 -04:00
test_log.py Fix unit test parametrize order on Python 3.5. 2018-09-17 22:45:42 -07:00
test_no_log.py Move _handle_no_log_values() out of basic.py (#48628) 2019-03-04 17:02:44 -05:00
test_platform_distribution.py Use distro.id() instead of distro.name() (#52199) 2019-03-07 13:25:59 -05:00
test_run_command.py ensure bytes in run_command (#58411) 2019-07-02 17:07:48 -05:00
test_safe_eval.py
test_selinux.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00
test_set_mode_if_different.py Bugfix/ fix mocker patch in tests (#52372) 2019-02-15 13:58:26 -08:00
test_tmpdir.py Move unit test compat code out of lib/ansible/. (#46996) 2018-10-12 20:01:14 -07:00