salt/tests
Erik Johnson 855bed36c1 Check rendered YAML for invalid keys (#33213)
* Check rendered YAML for invalid keys

PyYAML will for some reason allow improper YAML, specifically double
curly-braces like ``{{ }}``, to be formed into an unhashable dict (that
is, one with a dict as a key). This commit will change the YAML renderer
such that the rendered data is recursively checked for keys that are
dicts, and raises an SaltRenderError if such a key is encountered.

Resolves #33073.

* Fix smtp returner test

This test was using jinja placeholders but was not passing the template
through the jinja renderer. This commit adds the use of the jinja
renderer to this test to fix the failure caused by the addition of
verification of the loaded YAML inthe previous commit.
2016-05-13 09:22:43 -07:00
..
integration [2015.8] Merge forward from 2015.5 to 2015.8 (#33207) 2016-05-12 13:54:47 -07:00
perf Simplify to just loop. No need for calibration since it doesn't max out. 2015-02-11 13:30:09 -07:00
pkg/rpm Add unity manpage to buildpackage spec 2014-09-29 13:35:50 -05:00
unit Check rendered YAML for invalid keys (#33213) 2016-05-13 09:22:43 -07:00
utils Merge branch '2015.5' into '2015.8' 2016-03-28 10:51:23 -06:00
__init__.py
buildpackage.py Merge branch '2015.5' into '2015.8' 2016-05-06 12:04:06 -06:00
committer_parser.py lint 2015-03-10 15:37:49 -06:00
consist.py Py3 compatibility fixes 2015-01-30 22:25:06 +00:00
eventlisten.py Subscribe event to bus is optional now 2015-08-03 16:10:38 -06:00
eventlisten.sh Move giant eventlisten.sh example out of the state.event docstring 2015-09-10 13:38:09 -06:00
jenkins.py add tcp transport to jenkins and runtests 2015-07-20 16:56:00 -06:00
minionswarm.py Fix bug preventing minionswarm from working with tcp transport 2015-04-30 12:49:16 -06:00
packdump.py Py3 compatibility fixes. 2015-01-30 22:25:28 +00:00
runtests.py passing lint test 2016-03-06 17:19:08 -05:00
salt-tcpdump.py Pylint fixes 2016-03-15 14:55:35 -06:00
saltsh.py Py3 compatibility fixes 2015-01-30 22:25:08 +00:00
wheeltest.py Add from __future__ import absolute_import 2015-01-30 22:25:04 +00:00