mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
Tests: fix test_forward_zones in test_xmlrpc/test_dns_plugin
Class test_forward_zones in ipatests/test_xmlrpc/test_dns_plugin was using DNS zone 'fwzone2.test.' and expected to get warning 'Forwarding policy conflicts with some automatic empty zones.' (aka 'DNSForwardPolicyConflictWithEmptyZone'). This does not make sense because 'test.' zone is not listed in IANA registry 'Locally-Served DNS Zones': http://www.iana.org/assignments/locally-served-dns-zones/locally-served-dns-zones.xhtml To fix this I simply removed the warning from set of expected results. 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:
parent
8f1ba05c26
commit
eabe248957
@ -3444,15 +3444,7 @@ class test_forward_zones(Declarative):
|
|||||||
expected={
|
expected={
|
||||||
'value': fwzone2_dnsname,
|
'value': fwzone2_dnsname,
|
||||||
'summary': None,
|
'summary': None,
|
||||||
u'messages': (
|
u'messages': ({u'message': lambda x: x.startswith(
|
||||||
{u'message': lambda x: x.startswith(
|
|
||||||
u"Forwarding policy conflicts with some "
|
|
||||||
"automatic empty zones."),
|
|
||||||
u'code': 13021,
|
|
||||||
u'type': u'warning',
|
|
||||||
u'name': u'DNSForwardPolicyConflictWithEmptyZone',
|
|
||||||
u'data': {}},
|
|
||||||
{u'message': lambda x: x.startswith(
|
|
||||||
u"DNS server %s: query '%s SOA':" %
|
u"DNS server %s: query '%s SOA':" %
|
||||||
(forwarder1, fwzone2)),
|
(forwarder1, fwzone2)),
|
||||||
u'code': 13006,
|
u'code': 13006,
|
||||||
|
Loading…
Reference in New Issue
Block a user