Don't enforce the indentation

This commit is contained in:
Miguel Jacq 2026-06-20 17:40:56 +10:00
parent 17612c9883
commit 94aeaf6e7a
Signed by: mig5
GPG key ID: 03906B4110AAD3B8
2 changed files with 26 additions and 13 deletions

View file

@ -163,7 +163,9 @@ def test_yaml_indentless_sequence_loop_roundtrips_semantically(tmp_path: Path):
rendered = Template(template).render(**defaults)
assert yaml.safe_load(rendered) == yaml.safe_load(text)
assert " - waffleimage/ubuntu18.04" not in template
assert "%} - {{ image }}" in template
assert "%} - {{ image }}" not in template
assert "%} - {{ image }}" not in template
assert " vagrant:" not in template