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
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
8 years ago
..
basic Give native strings to selinux library functions. (#17184) 8 years ago
__init__.py Adding module_utils tests from v1 to v2 10 years ago
test_basic.py Give native strings to selinux library functions. (#17184) 8 years ago
test_database.py Adding module_utils tests from v1 to v2 10 years ago
test_distribution_version.py add more distribution version tests (#16563) 8 years ago
test_facts.py Fix facts.py for python3 (#17131) 8 years ago