1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/test/units
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
..
cli Test GalaxyCLI when no actions are provided 2016-07-22 14:39:01 -04:00
contrib Add a new vmware inventory script backed by pyvmomi (#15967) 2016-05-30 20:41:48 -04:00
errors Relocate use of ERROR to display class, to avoid doubling up 2016-01-19 12:10:39 -05:00
executor Cache tasks by uuid in PlayIterator for O(1) lookups 2016-08-10 12:49:19 -05:00
inventory Changing up how host (in)equality is checked 2015-12-04 12:57:46 -05:00
inventory_test_data/group_vars Merge branch 'v2_final' into devel_switch_v2 2015-05-28 15:26:03 -05:00
mock A little unittest refactoring (#16704) 2016-07-14 09:22:54 -07:00
module_utils Give native strings to selinux library functions. (#17184) 2016-08-22 16:44:13 -07:00
modules Enable some basic.py tests on python3 (#17167) 2016-08-20 10:13:54 -07:00
parsing New unit tests for #13630 fix 2016-03-28 15:54:07 -04:00
playbook Fix mock loader for osx /etc symlinks (#16074) 2016-05-31 18:02:39 -04:00
plugins Fix docker connection plugin version tests and py2.6 compat (#16841) 2016-08-22 10:39:38 -04:00
template Cleaning up FIXMEs 2015-10-22 16:03:50 -04:00
utils FEATURE: adding variable serial batches 2016-08-04 15:04:10 -05:00
vars Adding unit tests for role variable precedence 2016-07-20 10:14:44 -04:00
__init__.py Making the switch to v2 2015-05-03 21:47:26 -05:00