summaryrefslogtreecommitdiffstats
path: root/ipatests/test_xmlrpc/test_dns_plugin.py
diff options
context:
space:
mode:
authorMilan Kubik <mkubik@redhat.com>2015-12-17 14:17:22 +0100
committerMartin Basti <mbasti@redhat.com>2015-12-21 14:08:29 +0100
commitc8a03593628b0ad77f490a05074bfe0c8459722e (patch)
tree021f87255a047463385e6217aeb9940b01ed23ba /ipatests/test_xmlrpc/test_dns_plugin.py
parentee51ad0f25d4de2c20c3c666156781e4ff678863 (diff)
downloadfreeipa-c8a03593628b0ad77f490a05074bfe0c8459722e.tar.gz
freeipa-c8a03593628b0ad77f490a05074bfe0c8459722e.tar.xz
freeipa-c8a03593628b0ad77f490a05074bfe0c8459722e.zip
ipatests: Roll back the forwarder config after a test case
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipatests/test_xmlrpc/test_dns_plugin.py')
-rw-r--r--ipatests/test_xmlrpc/test_dns_plugin.py9
1 files changed, 9 insertions, 0 deletions
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,