salt/tests
Erik Johnson 002aa88a97
Replace yaml usage with a helper to ensure unicode is handled properly
Without allow_unicode=True, unicode characters are processed through the
str representer and on Python 2 are dumped as a Unicode code point (i.e.
a literal \u0414). This commit makes allow_unicode=True the default in
our salt.utils.yamlloader.safe_dump() helper. It also adds a new
salt.utils.yamlloader.dump() helper which wraps yaml.dump() and also
makes allow_unicode=True the default.

To make importing and using our custom yaml loader/dumper easier, a
convenience module called salt.utils.yaml has been added, which does a
wildcard import from both salt.utils.yamldumper and
salt.utils.yamlloader.

Refs to yaml.load/dump and yaml.safe_load/safe_dump have been updated to
salt.utils.yaml, to ensure that unicode is handled properly.
2018-01-03 14:14:21 -06:00
..
integration Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
kitchen comment wordpress module 2017-10-30 13:34:28 -06:00
perf Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
pkg/rpm
support Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
unit Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
utils
__init__.py
buildpackage.py
committer_parser.py Use with blocks (or try/finally) to ensure filehandles are closed 2017-11-09 15:05:40 -06:00
conftest.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
consist.py Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
eventlisten.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
eventlisten.sh
jenkins.py Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
minionswarm.py Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
modparser.py Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
packdump.py
runtests.py Revert "Clear Python 2 .pyc files when Python 3 suite runs" 2017-12-20 08:39:41 -06:00
salt-tcpdump.py
saltsh.py Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
wheeltest.py
whitelist.txt
zypp_plugin.py