summaryrefslogtreecommitdiffstats
path: root/ipatests/test_xmlrpc
diff options
context:
space:
mode:
authorPetr Spacek <pspacek@redhat.com>2016-08-29 16:30:49 +0200
committerMartin Basti <mbasti@redhat.com>2016-08-30 10:40:01 +0200
commit8f1ba05c26921fb787c3eb1bb846a13e06e424ff (patch)
treea9774f2eb5493cd3e65a22872f2e843fa4e7ab3c /ipatests/test_xmlrpc
parent572bb55da4aedaae0cf529ab343484db06d89731 (diff)
downloadfreeipa-8f1ba05c26921fb787c3eb1bb846a13e06e424ff.tar.gz
freeipa-8f1ba05c26921fb787c3eb1bb846a13e06e424ff.tar.xz
freeipa-8f1ba05c26921fb787c3eb1bb846a13e06e424ff.zip
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>
Diffstat (limited to 'ipatests/test_xmlrpc')
-rw-r--r--ipatests/test_xmlrpc/test_dns_plugin.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ipatests/test_xmlrpc/test_dns_plugin.py b/ipatests/test_xmlrpc/test_dns_plugin.py
index aa011ceba..456417eb6 100644
--- a/ipatests/test_xmlrpc/test_dns_plugin.py
+++ b/ipatests/test_xmlrpc/test_dns_plugin.py
@@ -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': {