From c8a03593628b0ad77f490a05074bfe0c8459722e Mon Sep 17 00:00:00 2001 From: Milan Kubik Date: Thu, 17 Dec 2015 14:17:22 +0100 Subject: ipatests: Roll back the forwarder config after a test case Reviewed-By: Petr Spacek --- 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 45b0217c8..1ec10bf06 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, -- cgit