ansible/test/units/module_utils/common
Sam Doran e9d29b1fe4 Properly mask no_log values is sub parameters during failure (#63405)
* Get no_log parameters from subspec

* Add changelog and unit tests

* Handle list of dicts in suboptions

Add fancy error message (this will probably haunt me)

* Update unit tests to test for list of dicts in suboptions

* Add integration tests

* Validate parameters in dict and list

In case it comes in as a string

* Make changes based on feedback, fix tests

* Simplify validators since we only need to validate dicts

Add test for suboptions passed in as strings to ensure they get validated properly and turned into a dictionary.

ci_complete

* Add a few more integration tests
2019-10-14 09:20:07 -07:00
..
parameters Properly mask no_log values is sub parameters during failure (#63405) 2019-10-14 09:20:07 -07:00
text Add human_to_bytes isbits arg unit tests&docstring 2019-07-23 14:56:56 +02:00
validation Fix unit tests to work with pytest >= 5.0 (#60246) 2019-08-09 14:58:46 -04:00
__init__.py
test_collections.py Fix module_utils.common.test_collections testsuite 2019-05-31 13:40:18 +02:00
test_dict_transformations.py
test_network.py
test_removed.py unittests for module_utils.common.removed.removed_module function (#57214) 2019-06-03 11:12:12 -04:00
test_sys_info.py Use distro.id() instead of distro.name() (#52199) 2019-03-07 13:25:59 -05:00
test_utils.py Cleanups to the common.sys_info API 2019-01-03 16:21:09 -08:00