Resolve misc DTFIX0/1 (#85247)

* complete DTFIX0 after eval

* sunder-prefix Marker.concrete_subclasses

* re-home Jinja plugin decorators public API

* low-hanging/already fixed DTFIX cases

Co-authored-by: Matt Clay <matt@mystile.com>

---------

Co-authored-by: Matt Clay <matt@mystile.com>
This commit is contained in:
Matt Davis
2025-06-03 01:31:20 +00:00
committed by GitHub
co-authored by Matt Clay
parent 8f2622c39f
commit df0b417f2d
16 changed files with 62 additions and 61 deletions
+15 -3
View File
@@ -44,15 +44,27 @@
- that: 1 == 1
- that: a_var == "one"
- that: '{{ a_var == "one" }}'
# DTFIX1: loops are not lazily templated, so this is not possible today, but could be in the future
# - that: |
# "hi mom" == '{{ "hi mom" }}'
- that:
- 1 == 1
- 2 == 2
- a_var == "one"
- '{{ a_var == "one" }}'
- name: arg splat loopable failure case
assert: '{{ item }}'
args:
quiet: yes
ignore_errors: true
loop:
- that: |
"hi mom" == '{{ "hi mom" }}' # not implemented; requires lazy loop templating
register: loop_fail
- name: check results from previous assert failures
assert:
that:
- loop_fail is failed
- loop_fail.results[0].msg is contains "untrusted"
- name: arg splat fail cases
assert: '{{ item }}'