]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
fixup! fixup! datamodel: dnssec: section completed, tests
authorAleš <ales.mrazek@nic.cz>
Thu, 9 Sep 2021 13:49:11 +0000 (15:49 +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 8dd44c51bcb704189d6180415282e8577fa97751..9b7c9dad7619c2613427d231de6ce0a8a339958f 100644 (file)
@@ -30,7 +30,9 @@ 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 49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5"]
+    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 +46,9 @@ 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 49AAC11D7B6F6446702E54A1607371607A1A41855200FD2CE1CDDE32F24E8FB5"]
+    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