salt/tests
Erik Johnson b6d64f504a Fix traceback when making http query to non-listening host/port and raise_error=False (#53394)
* Fix traceback when making http query to non-listening host/port

The query result is None, which results in a traceback when we try to
report the length of the response before and after decompressing. This
fixes that by returning without attempting decompression if the response
resolves as False.

It also removes an extraneous elif which does nothing.

* Add test case

* Improve documentation for http.query remote-exec func

Also, suppress full traceback when socket errors go uncaught and reraise
as CommandExecutionError.

* Add missing imports
2019-06-10 11:04:25 -06:00
..
integration Add the missing, and required, top pillar file. 2019-06-05 11:02:41 +01:00
kitchen Fixing various lint errors. 2018-12-20 16:19:01 -08:00
perf
pkg/rpm
support Attempt to fix mine tests 2019-05-22 12:45:34 +01:00
unit Fix traceback when making http query to non-listening host/port and raise_error=False (#53394) 2019-06-10 11:04:25 -06:00
utils
__init__.py
buildpackage.py
committer_parser.py Fix pylint on 2017.7.9 2019-04-16 12:00:12 -04:00
conftest.py fix use of virtualname 2019-02-19 13:16:06 -06:00
consist.py
eventlisten.py
eventlisten.sh
filename_map.yml Merge branch '2018.3' into virtualnames 2019-02-19 16:59:42 -06:00
jenkins.py Fix pylint on 2017.7.9 2019-04-16 12:00:12 -04:00
minionswarm.py Fix pylint on 2017.7.9 2019-04-16 12:00:12 -04:00
modparser.py
packdump.py
runtests.py Use six.reraise for the greater good 2019-05-21 12:27:13 -05:00
salt-tcpdump.py Fix pylint on 2017.7.9 2019-04-16 12:00:12 -04:00
saltsh.py
tox-helper.py Run tests from tox, wether runtests or pytest 2019-01-25 13:00:02 +00:00
wheeltest.py
whitelist.txt adding integration.scheduler.test_helpers to various files to by pass the test_module_name_source_match check. 2019-02-13 09:27:55 -08:00
zypp_plugin.py