Commit graph

5 commits

Author SHA1 Message Date
Martin Krizek
90134b0ac3
Ensure native jinja is off for non-native tests ()
Even if native jinja is off by default now it is better to be
explicit and it will be prepared in case we changed that default.
2020-09-24 15:52:06 -04:00
Sloane Hertel
30e70f4b63
Handle post_validate templating errors and fix tests ()
* Handle unexpected templating errors

* Fixes 

Fix up tests that weren't running and add tests for graceful templating error handling
2020-06-30 09:31:58 -04:00
Martin Krizek
ecd986006e
Properly handle unicode in safe_eval ()
* Properly handle unicode in safe_eval

Fixes 

* Update lib/ansible/template/safe_eval.py

Co-authored-by: Sam Doran <sdoran@redhat.com>
2020-05-20 12:08:50 -04:00
Felix Fontein
c520d70bf4
Templating: make sure only one variable results are cached ()
* Make sure only one variable results are cached.

* Add changelog.

* Add test.
2020-02-19 18:04:01 -05:00
Matt Clay
89c8eb5a08
Split up lookup integration tests. ()
* Split up lookup integration tests.

* Rename lookup_paths integration test.

This will avoid confusing it for a test of the `paths` lookup plugin, which does not exist.

* Fix lookup_pipe integration test.

The test now verifies it receives the correct output.

Adding a second task also causes code coverage to be properly registered for the lookup plugin.

* Rename ini lookup test to match plugin name.

* Update sanity ignore path.
2020-02-10 16:41:45 -08:00