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>
This commit is contained in:
Ganna Kaihorodova 2016-07-18 19:20:51 +02:00 committed by Martin Basti
parent 1b8a36d134
commit 359cfeb7c6

View File

@ -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]},
},
),