From 359cfeb7c6798038f5638f9d0977dda351f21431 Mon Sep 17 00:00:00 2001 From: Ganna Kaihorodova Date: Mon, 18 Jul 2016 19:20:51 +0200 Subject: [PATCH] Fix conflict between "got" and "expected" values Fix conflict between "got" and "expected" values when testing "dnsconfig_mod: Update global DNS settings" Reviewed-By: Martin Basti --- ipatests/test_xmlrpc/test_dns_plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ipatests/test_xmlrpc/test_dns_plugin.py b/ipatests/test_xmlrpc/test_dns_plugin.py index f3484166d..aa011ceba 100644 --- a/ipatests/test_xmlrpc/test_dns_plugin.py +++ b/ipatests/test_xmlrpc/test_dns_plugin.py @@ -1780,6 +1780,7 @@ class test_dns(Declarative): }}, ), 'result': { + 'dns_server_server': [api.env.host], 'idnsforwarders': [fwd_ip], }, }, @@ -1791,7 +1792,7 @@ class test_dns(Declarative): expected={ 'value': None, 'summary': u'Global DNS configuration is empty', - 'result': {}, + 'result': {'dns_server_server': [api.env.host]}, }, ),