You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
5 years ago
..
parameters Properly mask no_log values is sub parameters during failure (#63405) 5 years ago
text Add human_to_bytes isbits arg unit tests&docstring 5 years ago
validation Fix unit tests to work with pytest >= 5.0 (#60246) 5 years ago
__init__.py
test_collections.py Fix module_utils.common.test_collections testsuite 6 years ago
test_dict_transformations.py
test_network.py
test_removed.py unittests for module_utils.common.removed.removed_module function (#57214) 6 years ago
test_sys_info.py Use distro.id() instead of distro.name() (#52199) 6 years ago
test_utils.py