salt/tests/support
Erik Johnson ff63f36932
Fixes / enhancements for mock_open
This makes the following changes:

1. Now works properly when read_data is a bytestring
2. Now works properly when mocked filehandle is iterated (e.g. `for line in fh:`)
3. Adds ability to make mocked filehandle raise an IOError when the path
   being opened doesn't match a pattern (or one of a list of patterns).
2018-06-13 01:05:44 -05:00
..
ext Use bytestrings for struct.pack/unpack 2018-01-27 17:34:16 -06:00
parser Merge branch '2017.7' into '2018.3' 2018-06-01 14:54:12 -04:00
__init__.py Moved some test supporting modules to tests/support 2017-02-28 22:52:48 +00:00
case.py Add catch_timeout to run_script 2018-06-06 09:04:09 -05:00
cherrypy_testclasses.py Use setUpClass instead of __init__ 2017-04-28 13:33:37 +01:00
copyartifacts.py Replace yaml usage with a helper to ensure unicode is handled properly 2018-01-03 14:14:21 -06:00
cptestcase.py Replace all usage of six.b 2018-01-24 09:17:28 -06:00
docker.py [PY3] Add print_function import to files with unicode_literals already added 2017-12-15 12:14:18 -06:00
gitfs.py [PY3] Add unicode_literals to ext_pillar modules 2018-01-04 08:46:40 -06:00
helpers.py Merge branch '2017.7' into '2018.3' 2018-06-01 14:54:12 -04:00
jinja_filters.py Fixing test_path_which to check that the filter is available rather than results. 2018-04-11 08:19:07 -07:00
mixins.py Merge branch '2017.7' into '2018.3' 2018-06-01 14:54:12 -04:00
mock.py Fixes / enhancements for mock_open 2018-06-13 01:05:44 -05:00
napalm.py import absolute paths 2017-11-29 10:00:41 +11:00
paths.py Merge branch '2017.7' into '2018.3' 2018-06-01 14:54:12 -04:00
processes.py Merge pull request #41617 from cro/n_proxy_tests 2017-06-15 12:07:29 -05:00
runtests.py Merge branch '2017.7' into '2018.3' 2018-06-01 14:54:12 -04:00
unit.py Merge branch '2017.7' into '2018.3' 2018-06-01 14:54:12 -04:00
win_installer.py Fix for py3 ec2 cloud tests 2018-05-27 14:09:50 -07:00
xmlunit.py Merge branch '2017.7' into '2018.3' 2018-06-01 14:54:12 -04:00