salt/tests/unit
Erik Johnson 441e9dabd1
Improve PY3 compatibility of salt.utils.data.decode and encode
This adds the ability to specify the encoding and error behavior. It
also adds the "errors" argument to the salt.utils.stringutils funcs for
converting between str, unicode, and bytes.

Tests have also been updated to properly test the recursive behavior of
salt.utils.data.decode/encode.
2018-01-20 22:22:34 -06:00
..
acl
beacons Skip test_load_match on Windows 2018-01-08 14:31:46 -07:00
cache [PY3] Add unicode_literals to cache and cli modules 2018-01-13 21:08:51 -06:00
cli [PY3] Add unicode_literals to cache and cli modules 2018-01-13 21:08:51 -06:00
cloud [PY3] Add unicode_literals to salt-cloud modules 2018-01-04 13:39:59 -06:00
config Add test for modified virtualnames in salt.config 2018-01-09 19:11:17 -06:00
daemons Merge pull request #45305 from terminalmage/py3-daemons 2018-01-09 16:30:36 -05:00
engines Add unicode_literals to engines 2018-01-07 14:01:48 -06:00
files fix test boto imports 2018-01-11 15:14:25 -07:00
fileserver Add update_interval to gitfs, "fs" to several virtual names 2018-01-09 19:11:17 -06:00
grains Merge branch '2017.7' into 'oxygen' 2018-01-11 16:00:08 -05:00
loader Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
modules Skip tests on Windows, gate module on Windows 2018-01-18 13:27:56 -07:00
netapi Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
output Replace json module usage with a helper to ensure unicode content is handled properly 2017-12-27 09:30:58 -06:00
pillar [PY3] Add unicode_literals to ext_pillar modules 2018-01-04 08:46:40 -06:00
proxy Add unicode_literals to tops, thorium, proxy, tokens 2017-12-14 21:56:49 -06:00
renderers [PY3] Add unicode_literals to renderers and returners 2017-12-15 00:17:26 -06:00
returners Fix race condition in Windows with the creation time 2018-01-12 16:22:35 -07:00
runners Add unicode_literals to runner modules 2017-12-14 19:30:14 -06:00
sdb [PY3] Add unicode_literals to sdb and serializers 2017-12-28 13:18:00 -06:00
serializers Merge pull request #45054 from AAbouZaid/toml_serializer 2017-12-19 10:23:22 -05:00
ssh Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
states [PY3] Update modules/states for PY3/Unicode compatibility (B) 2018-01-17 17:06:07 -06:00
templates Ensure utf-8 encoding 2018-01-17 16:22:44 -07:00
transport [PY3] Add unicode_literals to transports 2017-12-28 17:10:42 -06:00
utils Improve PY3 compatibility of salt.utils.data.decode and encode 2018-01-20 22:22:34 -06:00
__init__.py
test_auth.py [PY3] Add unicode_literals to acl, auth, and netapi modules 2018-01-05 10:31:11 -06:00
test_client.py [PY3] Add print_function import to files with unicode_literals already added 2017-12-15 12:14:18 -06:00
test_conf.py
test_context.py Replace json module usage with a helper to ensure unicode content is handled properly 2017-12-27 09:30:58 -06:00
test_crypt.py Remove salt.utils.platform import 2018-01-18 19:13:33 +00:00
test_daemons.py Fix mocked logger in daemons tests 2018-01-20 22:09:54 -06:00
test_doc.py Merge branch '2017.7' into 'develop' 2017-11-13 12:27:59 -05:00
test_fileclient.py Fix unit.test_fileclient 2017-08-15 16:34:03 -06:00
test_files.py Use explicit unicode strings + break up salt.utils 2017-08-08 13:33:43 -05:00
test_log.py
test_map_conf.py Drop @patch usage 2017-04-28 13:36:42 +01:00
test_master.py Remove more unnecessary explicit unicode literals 2018-01-13 21:10:04 -06:00
test_minion.py Merge branch '2017.7' into 'oxygen' 2017-12-11 18:24:41 -05:00
test_payload.py [PY3] Add print_function import to files with unicode_literals already added 2017-12-15 12:14:18 -06:00
test_pillar.py Merge branch '2017.7' into 'oxygen' 2018-01-11 16:00:08 -05:00
test_pydsl.py Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
test_pyobjects.py Update all references for moved functions to use "files" util 2017-07-18 10:31:01 -06:00
test_simple.py
test_spm.py Update all references for moved functions to use "files" util 2017-07-18 10:31:01 -06:00
test_ssh_config_roster.py Complete the salt.utils refactor 2017-10-15 09:43:31 -05:00
test_state.py Refactor unit tests so they call class-based decorator 2018-01-17 14:13:25 +01:00
test_stateconf.py Merge branch '2017.7' into 'develop' 2017-08-22 09:07:26 -04:00
test_target.py Merge branch '2016.11' into '2017.7' 2017-12-28 12:15:54 -05:00
test_template.py [PY3] Add print_function import to files with unicode_literals already added 2017-12-15 12:14:18 -06:00
test_test_module_names.py Replace os.walk with a helper function 2017-12-13 16:38:12 -06:00
test_transport.py Rename transport_test file to test_transport and update imports for pytest 2017-06-28 11:35:13 -06:00
test_version.py
test_zypp_plugins.py Fix zypp_plugins unit test for Python 3 2017-06-27 09:26:35 +01:00