ansible/test/units/parsing
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
..
utils Move yaml loading functions from DataLoader into a utility module. 2018-01-22 16:54:53 -08:00
vault Fix 'New Vault password' on vault 'edit' (#35923) 2018-03-27 14:12:21 -04:00
yaml fix decrypted vault utf8 values (#37539) 2018-05-24 23:22:46 -04:00
__init__.py
test_dataloader.py
test_metadata.py
test_mod_args.py Correct the AnsibleError exception to call its superclass's constructor 2017-12-21 20:42:44 -08:00
test_splitter.py
test_unquote.py