]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
fixup! datamodel: dnssec: section completed, tests
authorAleš <ales.mrazek@nic.cz>
Thu, 9 Sep 2021 13:47:25 +0000 (15:47 +0200)
committerAleš Mrázek <ales.mrazek@nic.cz>
Fri, 8 Apr 2022 14:17:52 +0000 (16:17 +0200)
manager/tests/datamodel/test_dnssec_config.py

index 318a86962a26dae82cbb62976669ee4ab7371a5d..8dd44c51bcb704189d6180415282e8577fa97751 100644 (file)
@@ -30,7 +30,7 @@ def test_parsing():
     assert config.refresh_time == TimeUnit("10s")
     assert config.hold_down_time == TimeUnit("45d")
 
-    assert config.trust_anchors == [". 3600 IN DS 19036 8 2 49AAC11..."]
+    assert config.trust_anchors == [". 3600 IN DS 19036 8 2 49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5"]
     assert config.negative_trust_anchors == ["bad.boy", "example.com"]
     assert config.trust_anchors_files[0].file == "root.key"
     assert config.trust_anchors_files[0].read_only == True
@@ -44,7 +44,7 @@ def test_validating():
     assert strict.refresh_time == 10
     assert strict.hold_down_time == 45 * 24 * 60 ** 2
 
-    assert strict.trust_anchors == [". 3600 IN DS 19036 8 2 49AAC11..."]
+    assert strict.trust_anchors == [". 3600 IN DS 19036 8 2 49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5"]
     assert strict.negative_trust_anchors == ["bad.boy", "example.com"]
     assert strict.trust_anchors_files[0].file == "root.key"
     assert strict.trust_anchors_files[0].read_only == True