Tests: fix test_forward_zones in test_xmlrpc/test_dns_plugin

Class test_forward_zones in ipatests/test_xmlrpc/test_dns_plugin
had server IP and zone name interchanged in "expected" dictionart.

I do not understand how this happened.

https://fedorahosted.org/freeipa/ticket/6213

Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Stanislav Laznicka <slaznick@redhat.com>
This commit is contained in:
Petr Spacek
2016-08-29 16:30:49 +02:00
committed by Martin Basti
parent 572bb55da4
commit 8f1ba05c26

View File

@@ -3460,8 +3460,8 @@ class test_forward_zones(Declarative):
u'name': u'DNSServerValidationWarning',
u'data': {
u'error': lambda x: x.startswith(
u"query '%s SOA':" % forwarder1),
u'server': u"%s" % fwzone2
u"query '%s SOA':" % fwzone2),
u'server': u"%s" % forwarder1
}},
),
'result': {