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
2016-08-22 16:44:13 -07:00
..
__init__.py
test__log_invocation.py
test_exit_json.py
test_heuristic_log_sanitize.py Enable some basic.py tests on python3 (#17167) 2016-08-20 10:13:54 -07:00
test_known_hosts.py
test_log.py
test_no_log.py Enable some basic.py tests on python3 (#17167) 2016-08-20 10:13:54 -07:00
test_run_command.py
test_safe_eval.py
test_set_mode_if_different.py
test_text.py Give native strings to selinux library functions. (#17184) 2016-08-22 16:44:13 -07:00