diff options
author | Milan Kubik <mkubik@redhat.com> | 2015-12-17 14:17:22 +0100 |
---|---|---|
committer | Martin Basti <mbasti@redhat.com> | 2015-12-21 14:08:29 +0100 |
commit | c8a03593628b0ad77f490a05074bfe0c8459722e (patch) | |
tree | 021f87255a047463385e6217aeb9940b01ed23ba /ipatests/test_xmlrpc/test_dns_plugin.py | |
parent | ee51ad0f25d4de2c20c3c666156781e4ff678863 (diff) | |
download | freeipa-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.py | 9 |
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, |