ansible/test/units/module_utils
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
..
basic Allow the msg argument to fail_json() to be a positional argument 2020-04-08 07:56:11 -07:00
common Fix and add tests for some module_utils.common.validation (#67771) 2020-03-26 18:18:56 -05:00
facts Remove with statement for pytest-mock unit tests 2020-01-29 13:29:40 -08:00
json_utils Replace TestCase.assertEquals with TestCase.assertEqual. 2019-11-11 10:24:21 -08:00
parsing Consolidate boolean/mk_boolean conversion functions into a single location 2017-07-17 11:48:05 -07:00
urls ansible-galaxy - define multiple galaxy instances in ansible.cfg (#60553) 2019-08-21 07:49:05 +10:00
__init__.py
conftest.py Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
test_distribution_version.py Improve distribution unit tests (#67300) 2020-02-11 16:46:48 -05:00
test_distro.py Update distro unit test (#55003) 2019-04-08 16:26:31 -04:00
test_text.py Wrap CLI Passwords with AnsibleUnsafeText, ensure unsafe context is not lost during encode/decode (#63351) 2019-10-11 09:17:10 -05:00