salt/tests/integration/files
Erik Johnson 6cef37f310
2 unicode-compatibility fixes for cmdmod.py
First, `shlex.split()` will raise an exception when passed a unicode
type with unicode characters in the string. This modifies our
`shlex.split()` helper to first convert the passed string to a `str`
type, and then return a decoded copy of the result of the split.

Second, this uses our `to_unicode` helper to more gracefully decode the
stdout and stderr from the command. Unit tests have been added to
confirm that the output is properly decoded, including instances where
decoding fails because the return from the command contains binary data.
2018-02-07 02:01:55 -06:00
..
autosign_grains Fix typo 2017-10-29 14:02:40 +01:00
conf update provider rackspace config 2018-01-12 12:02:01 -05:00
engines Add unicode_literals to engines 2018-01-07 14:01:48 -06:00
ext-conf Move sshd_config file to another directory to avoid problems. 2014-05-12 19:06:09 +01:00
extension_modules Add unicode_literals to tops, thorium, proxy, tokens 2017-12-14 21:56:49 -06:00
file 2 unicode-compatibility fixes for cmdmod.py 2018-02-07 02:01:55 -06:00
file.replace Fix tests for #18841. 2014-12-18 01:51:26 +01:00
log_handlers Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
over Remove trailing white spaces in tests files 2016-03-01 17:40:02 +02:00
pillar/base Add pillar ssh integration tests 2017-11-28 12:19:41 -05:00
saltclass/examples Correct when dict is NoneType because of the value doesn't exist 2017-11-13 19:49:25 +01:00
ssh Make sure that ssh keys don't get added with incorrect encoding types. 2013-10-15 11:48:28 -06:00
autosign_file Fix test autosign files by using regexes 2017-10-29 14:02:40 +01:00
ext.yaml Add backend for initial ext_pillar tests 2012-04-08 21:31:08 -06:00
hosts Split out integration tests from pure unit tests. 2012-02-20 13:18:13 +01:00
mysql_returner_archiver_data.sql WIP MySQL returner archiver 2016-08-16 10:33:26 -06:00
reactor-sync-minion.sls Rewrite the tests_valid_docs test 2017-02-26 12:21:00 -06:00