summaryrefslogtreecommitdiff
path: root/reconfigure/tests/configs/nsd_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'reconfigure/tests/configs/nsd_tests.py')
-rw-r--r--reconfigure/tests/configs/nsd_tests.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/reconfigure/tests/configs/nsd_tests.py b/reconfigure/tests/configs/nsd_tests.py
new file mode 100644
index 0000000..d91b0bd
--- /dev/null
+++ b/reconfigure/tests/configs/nsd_tests.py
@@ -0,0 +1,26 @@
+from reconfigure.configs import NSDConfig
+from base_test import BaseConfigTest
+
+
+class NSDConfigTest (BaseConfigTest):
+ sources = {
+ None: """
+zone:
+ name: "example.net"
+ zonefile: "example.net.signed.zone"
+ notify-retry: 5
+"""
+ }
+ result = {
+ "zones": [
+ {
+ "name": "example.net",
+ "file": "example.net.signed.zone"
+ }
+ ]
+ }
+
+ config = NSDConfig
+
+
+del BaseConfigTest