Patch attached.

--
Milan Kubik

From 66db35cf2a315f0a58e002b06f0fcc5bd915a5c5 Mon Sep 17 00:00:00 2001
From: Milan Kubik <mku...@redhat.com>
Date: Thu, 17 Dec 2015 14:17:22 +0100
Subject: [PATCH] ipatests: Roll back the forwarder config after a test case

---
 ipatests/test_xmlrpc/test_dns_plugin.py | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/ipatests/test_xmlrpc/test_dns_plugin.py b/ipatests/test_xmlrpc/test_dns_plugin.py
index 5f692528eb9a5ae0dc488c663ab43cc47ffd29b3..cba6b001053e6a5c708e9d4359119ad071d70280 100644
--- a/ipatests/test_xmlrpc/test_dns_plugin.py
+++ b/ipatests/test_xmlrpc/test_dns_plugin.py
@@ -1768,6 +1768,15 @@ class test_dns(Declarative):
             },
         ),
 
+        dict(
+            desc='Update global DNS settings - rollback',
+            command=('dnsconfig_mod', [], {'idnsforwarders' : None,}),
+            expected={
+                'value': None,
+                'summary': u'Global DNS configuration is empty',
+                'result': {},
+            },
+        ),
 
         dict(
             desc='Try to add invalid allow-query to zone %r' % zone1,
-- 
2.5.0

-- 
Manage your subscription for the Freeipa-devel mailing list:
https://www.redhat.com/mailman/listinfo/freeipa-devel
Contribute to FreeIPA: http://www.freeipa.org/page/Contribute/Code

Reply via email to