mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
855bed36c1
* 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. |
||
---|---|---|
.. | ||
__init__.py | ||
smtp_return_test.py |