[Freeipa-devel] [patch 0027] ipatests: Roll back the forwarder config after a test case
Petr Spacek
pspacek at redhat.com
Thu Dec 17 19:16:07 UTC 2015
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 <mkubik at 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.
--
Petr^2 Spacek
More information about the Freeipa-devel
mailing list