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/basic
Toshio Kuratomi 57701d7115 Give native strings to selinux library functions. (#17184)
* Give native strings to selinux library functions.

SELinux takes pathnames as native strings.  That means we need to
convert to bytes on python2 and convert to text on python3.

Fixes #17155

* Read kitchen documentation, make module_utils params more like kitchen API

* Remove none nonstring strategy and add strict
* Raise TypeError on invalid nonstring strategy

* Document to_native()

* Make unittests for testing module_utils.text
9 years ago
..
__init__.py AnsibleModules.log() fix for python3 10 years ago
test__log_invocation.py Ship constants to the modules via internal module params rather than a secondary dict. 10 years ago
test_exit_json.py Ship constants to the modules via internal module params rather than a secondary dict. 10 years ago
test_heuristic_log_sanitize.py Enable some basic.py tests on python3 (#17167) 9 years ago
test_known_hosts.py Make module_utils.known_hosts.get_fqdn work on ipv6 10 years ago
test_log.py Fix unit tests for module_name commit #16087 10 years ago
test_no_log.py Enable some basic.py tests on python3 (#17167) 9 years ago
test_run_command.py Port urls.py to python3 and other byte vs text fixes (#16124) 10 years ago
test_safe_eval.py A little unittest refactoring (#16704) 10 years ago
test_set_mode_if_different.py A little unittest refactoring (#16704) 10 years ago
test_text.py Give native strings to selinux library functions. (#17184) 9 years ago