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 f610ed3a4e [stable-2.9] 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
(cherry picked from commit e9d29b1fe4)

Co-authored-by: Sam Doran <sdoran@redhat.com>
5 years ago
..
parameters [stable-2.9] 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
test_dict_transformations.py
test_network.py
test_removed.py
test_sys_info.py
test_utils.py