summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGanna Kaihorodova <gkaihoro@redhat.com>2016-07-18 19:20:51 +0200
committerMartin Basti <mbasti@redhat.com>2016-07-21 20:01:51 +0200
commit359cfeb7c6798038f5638f9d0977dda351f21431 (patch)
tree687fcbf0794cabed29ab4b48d969fc425b03070d
parent1b8a36d134dd320896e05809cc6b49f725eadda7 (diff)
downloadfreeipa-359cfeb7c6798038f5638f9d0977dda351f21431.tar.gz
freeipa-359cfeb7c6798038f5638f9d0977dda351f21431.tar.xz
freeipa-359cfeb7c6798038f5638f9d0977dda351f21431.zip
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 <mbasti@redhat.com>
-rw-r--r--ipatests/test_xmlrpc/test_dns_plugin.py3
1 files changed, 2 insertions, 1 deletions
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]},
},
),