KP opened on request, changed delimiter

This commit is contained in:
Piotr Dec 2025-11-04 00:14:18 +01:00
parent 324938133f
commit 8a6a8c0edf
Signed by: stawros
GPG key ID: 74B18A3F0F1E99C0
5 changed files with 17 additions and 23 deletions

View file

@ -1,3 +1,3 @@
value: ${sample}
nested: ${some.nested.value}
custom: @{custom.field}
custom: %{custom.field}

View file

@ -17,6 +17,7 @@ class TestMo(TestCase):
with open(target_path, 'r') as f:
content = f.read()
self.assertFalse(content.__contains__('${'))
self.assertFalse(content.__contains__('%{'))
parsed = yaml.load(content, Loader=yaml.FullLoader)
self.assertEqual('some_pass', parsed['value'])
self.assertEqual('nested_pass', parsed['nested'])