On 17.12.2015 20:16, Petr Spacek wrote:
On 17.12.2015 14:35, Milan Kubík wrote:
Patch attached.

--
Milan Kubik


freeipa-mkubik-0027-ipatests-Roll-back-the-forwarder-config-after-a-test.patch


 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,
I have seen this code to work on David's VM. ACK.

Pushed to:
master: c8a03593628b0ad77f490a05074bfe0c8459722e
ipa-4-3: ddd5d408862b411b978c6994a69e3df7b1a43ba4

--
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