ansible/test/units/module_utils
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
..
basic Give native strings to selinux library functions. (#17184) 2016-08-22 16:44:13 -07:00
__init__.py
test_basic.py Give native strings to selinux library functions. (#17184) 2016-08-22 16:44:13 -07:00
test_database.py
test_distribution_version.py add more distribution version tests (#16563) 2016-07-04 15:57:57 +02:00
test_facts.py Fix facts.py for python3 (#17131) 2016-08-18 09:36:03 -04:00