def test_failure_no_config(self):
     resource_conf = {"name": ["example-zone"],
                      "dns_name": ["example-de13he3.com."],
                      "description": ["Example DNS zone"]
                      }
     scan_result = check.scan_resource_conf(conf=resource_conf)
     self.assertEqual(CheckResult.FAILED, scan_result)
 def test_success(self):
     resource_conf = {"name": ["example-zone"],
                      "dns_name": ["example-de13he3.com."],
                      "description": ["Example DNS zone"],
                      "dnssec_config": [{"state": ["on"]}]
                      }
     scan_result = check.scan_resource_conf(conf=resource_conf)
     self.assertEqual(CheckResult.PASSED, scan_result)