ansible/test/units/module_utils/basic
Toshio Kuratomi 6531ba38f8 Allow the msg argument to fail_json() to be a positional argument
fial_json() requires a message be given to it to inform the end user of
why the module failed.  Prior to this commit, the message had to be a
keyword argument:

    module.fail_json(msg='Failed due to error')

Since this is a required parameter, this commit allows the message to be
given as a positional argument instead:

   module.fail_json('Failed due to an error')
2020-04-08 07:56:11 -07:00
..
__init__.py
test__log_invocation.py
test__symbolic_mode_to_octal.py
test_argument_spec.py Add mechanism for storing warnings and deprecations outside of AnsibleModule (#58993) 2020-01-28 12:12:14 -05:00
test_atomic_move.py Update units to pass on macOS (#60435) 2019-08-12 15:13:07 -05:00
test_deprecate_warn.py
test_dict_converters.py
test_exit_json.py Allow the msg argument to fail_json() to be a positional argument 2020-04-08 07:56:11 -07:00
test_filesystem.py
test_get_file_attributes.py
test_get_module_path.py
test_heuristic_log_sanitize.py Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
test_imports.py unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
test_log.py
test_no_log.py Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
test_platform_distribution.py unit tests: remove unused imports (#59636) 2019-07-26 10:53:31 -04:00
test_run_command.py synchronize - fix password authentication (#66542) 2020-01-21 10:43:56 -05:00
test_safe_eval.py
test_selinux.py
test_set_mode_if_different.py unit tests: remove unused imports (#60462) 2019-08-13 19:21:43 +02:00
test_tmpdir.py