salt/tests/integration/modules
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
..
files Split out integration tests from pure unit tests. 2012-02-20 13:18:13 +01:00
__init__.py Include the python encoding file header on tests. 2013-11-27 11:19:24 +00:00
test_aliases.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_archive.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_beacons.py Updating unit and integration tests for beacons to reflect changes. 2017-08-14 12:04:38 -07:00
test_boto_iam.py Don't attempt connections at the module level! 2017-04-28 13:33:32 +01:00
test_boto_sns.py Don't attempt connections at the module level! 2017-04-28 13:33:32 +01:00
test_cmdmod.py Merge branch '2017.7' into 'oxygen' 2017-12-30 08:44:11 -05:00
test_config.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_cp.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_darwin_sysctl.py Update all references for moved functions to use "files" util 2017-07-18 10:31:01 -06:00
test_data.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_decorators.py Updating tests to reflect changes. Updating to include passed function name in returned docs with message that it is not available. 2017-07-26 09:04:22 -07:00
test_disk.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_dockermod.py [PY3] Add print_function import to files with unicode_literals already added 2017-12-15 12:14:18 -06:00
test_event.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_file.py [PY3] Add print_function import to files with unicode_literals already added 2017-12-15 12:14:18 -06:00
test_gem.py Merge branch '2017.7' into 'develop' 2017-08-18 09:28:26 -04:00
test_gentoolkitmod.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_git.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_grains.py Merge branch '2017.7' into 'develop' 2017-07-03 09:28:18 -06:00
test_groupadd.py Merge branch '2017.7' into 'oxygen' 2017-12-11 18:24:41 -05:00
test_hosts.py Update all references for moved functions to use "files" util 2017-07-18 10:31:01 -06:00
test_key.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_linux_acl.py Move several functions from salt.utils to salt.utils.user 2017-10-05 19:50:14 -05:00
test_locale.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_lxc.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_mac_assistive.py Use the more portable helper skip_if_not_root. 2017-04-04 18:58:21 +01:00
test_mac_brew.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_mac_defaults.py Use the more portable helper skip_if_not_root. 2017-04-04 18:58:21 +01:00
test_mac_desktop.py Use the more portable helper skip_if_not_root. 2017-04-04 18:58:21 +01:00
test_mac_group.py Use the more portable helper skip_if_not_root. 2017-04-04 18:58:21 +01:00
test_mac_keychain.py Use the more portable helper skip_if_not_root. 2017-04-04 18:58:21 +01:00
test_mac_pkgutil.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_mac_ports.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_mac_power.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_mac_service.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_mac_shadow.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_mac_softwareupdate.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_mac_system.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_mac_timezone.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_mac_user.py Update old utils paths to new utils paths 2017-12-11 18:43:33 -05:00
test_mac_xattr.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_mine.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_mysql.py Merge branch '2017.7' into 'develop' 2017-09-22 10:24:04 -04:00
test_nilrt_ip.py test_nilrt_ip: Fix set_static_all test 2017-09-25 12:49:46 +03:00
test_pillar.py Add integration pillar command line test 2017-11-10 10:43:37 -05:00
test_pip.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_pkg.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_publish.py Add timout in tests instead of publish 2017-05-12 11:32:04 -06:00
test_pw_user.py Use the more portable helper skip_if_not_root. 2017-04-04 18:58:21 +01:00
test_rabbitmq.py Use the more portable helper skip_if_not_root. 2017-04-04 18:58:21 +01:00
test_saltutil.py Make tests happy 2017-11-30 15:50:11 +00:00
test_service.py Update old utils paths to new paths 2017-11-05 20:39:40 -07:00
test_shadow.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_ssh.py Improvements to SSH known_hosts module and state. 2017-09-19 13:28:48 +10:00
test_state.py Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
test_status.py fix lint error 2017-11-22 21:41:59 +00:00
test_supervisord.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_sysctl.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_sysmod.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_sysrc.py Rename proxy test files to use test_* syntax 2017-05-24 13:03:21 -06:00
test_system.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_test.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_timezone.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_useradd.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_virt.py Import from the original modules not tests.integration 2017-04-04 18:58:19 +01:00
test_virtualenv.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00