]> git.ipfire.org Git - thirdparty/knot-dns.git/commitdiff
tests-extra: avoid 'journal-content: None' in catalog templates
authorDaniel Salzman <daniel.salzman@nic.cz>
Sat, 21 Feb 2026 17:49:54 +0000 (18:49 +0100)
committerDaniel Salzman <daniel.salzman@nic.cz>
Tue, 24 Feb 2026 11:53:04 +0000 (12:53 +0100)
tests-extra/tools/dnstest/server.py

index f3e62c0228febc855478f681e8be99f85817f4b8..0f4e43281b03d6b110dfb44dada3e124ec3dd808 100644 (file)
@@ -1742,7 +1742,7 @@ class Knot(Server):
             s.id_item("id", "catalog-default")
             s.item_str("file", self.dir + "/catalog/%s.zone")
             s.item_str("zonefile-load", "difference")
-            s.item_str("journal-content", self.conf_zone(z).journal_content)
+            s.item_type("journal-content", self.conf_zone(z).journal_content)
 
             # this is weird but for the sake of testing, the cataloged zones inherit dnssec policy from catalog zone
             s.item_str("dnssec-signing", "on" if z.dnssec.enable else "off")
@@ -1755,13 +1755,13 @@ class Knot(Server):
 
             s.id_item("id", "catalog-signed")
             s.item_str("file", self.dir + "/catalog/%s.zone")
-            s.item_str("journal-content", self.conf_zone(z).journal_content)
+            s.item_type("journal-content", self.conf_zone(z).journal_content)
             s.item_str("dnssec-signing", "on")
             self.config_xfr(z, s)
 
             s.id_item("id", "catalog-unsigned")
             s.item_str("file", self.dir + "/catalog/%s.zone")
-            s.item_str("journal-content", self.conf_zone(z).journal_content)
+            s.item_type("journal-content", self.conf_zone(z).journal_content)
             self.config_xfr(z, s)
         s.end()