ansible/test/units
Adrian Likins 1613a739ad fix decrypted vault utf8 values (#37539)
* Fix errors decrypted non-ascii vault vars

AnsibleVaultEncryptedUnicode was just using b"".decode()
instead of to_text() on the bytestrings returned from
vault.decrypt() and could cause errors on python2
if non-ascii since decode() defaults to ascii.
Use to_text() to default to decoding utf-8.

add intg and unit tests for value of vaulted vars
being non-ascii utf8

based on https://github.com/ansible/ansible/issues/37258

Fixes #37258

* yamllint fixups
2018-05-24 23:22:46 -04:00
..
cli Add APB role_type to ansible-galaxy init (#36789) 2018-03-09 06:50:17 -05:00
config additional configmanager tests 2017-10-13 20:25:12 -04:00
contrib Update vmware_inventory (#26308) 2017-07-18 07:20:23 -04:00
errors test/: PEP8 compliancy (#24803) 2017-05-30 18:05:19 +01:00
executor module_common: handle None value for templar (#36651) 2018-03-29 13:54:48 -04:00
inventory_test_data/group_vars
mock avoid caching invetnory sources in loader (#38242) 2018-04-10 22:15:52 -04:00
module_utils Module basic.py to create parent dirs of tmpdir if needed (#40201) 2018-05-17 09:52:46 +10:00
modules Adding changed option to save_when (#40640) 2018-05-24 22:18:59 +05:30
parsing fix decrypted vault utf8 values (#37539) 2018-05-24 23:22:46 -04:00
playbook always_run: removed deprecated always_run task option (#40470) 2018-05-23 07:10:36 +10:00
plugins Fix inventory plugin cache + add tests (#38229) 2018-05-24 15:34:54 -04:00
template Remove duplicated "instead" word (#38800) 2018-04-16 09:23:43 -04:00
utils Move AWS placebo fixtures into test/units/utils so module_utils tests can use them (#37300) 2018-03-22 14:57:59 -04:00
vars Miscellaneous pylint fixes. 2017-09-13 01:53:08 -07:00
__init__.py
ansible.cfg Fix ansible-test config management. 2017-10-04 12:52:36 -07:00
conftest.py Fix bugs in ansible-test units command. (#24044) 2017-04-27 11:21:11 +08:00
test_constants.py 1st part of ansible config, adds ansible-config to view/manage configs (#12797) 2017-06-14 11:08:34 -04:00