Restructured server config

This commit is contained in:
2025-08-07 11:31:06 +02:00
parent 99c6c9ec92
commit 9228d51e86
69 changed files with 770 additions and 677 deletions

View File

@@ -64,11 +64,13 @@ class TestDictRenderer(unittest.TestCase):
# Combine quoted key, dot access and numeric index
data = {
"web-svc-file": {
"domains": {
"canonical": ["file.example.com"]
'server':{
"domains": {
"canonical": ["file.example.com"]
}
}
},
"url": '<<[\'web-svc-file\'].domains.canonical[0]>>'
"url": '<<[\'web-svc-file\'].server.domains.canonical[0]>>'
}
rendered = self.renderer.render(data)
self.assertEqual(rendered["url"], "file.example.com")