<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p><br>
</p>
<br>
<div class="moz-cite-prefix">On 12.08.2016 20:00, Petr Spacek wrote:<br>
</div>
<blockquote
cite="mid:cd2e7915-6a44-adea-c171-d6181e920972@redhat.com"
type="cite">
<pre wrap="">Hello,
this is the last patch necessary to get all test_xmlrpc/test_dns_plugin tests
to pass! (I hope :-)
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':
<a class="moz-txt-link-freetext" href="http://www.iana.org/assignments/locally-served-dns-zones/locally-served-dns-zones.xhtml">http://www.iana.org/assignments/locally-served-dns-zones/locally-served-dns-zones.xhtml</a>
To fix this I simply removed the warning from set of expected results.
<a class="moz-txt-link-freetext" href="https://fedorahosted.org/freeipa/ticket/6213">https://fedorahosted.org/freeipa/ticket/6213</a>
</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
</blockquote>
<br>
NACK<br>
<br>
raise AssertionError(<br>
> VALUE % (doc, expected, got, stack)<br>
E AssertionError: assert_deepequal: expected !=
got.<br>
E 0014: dnsforwardzone_add: Create forward zone
u'fwzone2.test.' with forwarders with default ("first") policy<br>
E expected = <function <lambda> at
0x7f76f1225500><br>
E got = u"query 'fwzone2.test. SOA': The DNS
operation timed out after 10.0012469292 seconds"<br>
E path = (u'messages', 0, u'data', u'error')<br>
<br>
<br>
I don't think that this will work, you must use function to check
list, not list containing lambda functions<br>
<br>
<br>
Martin^2<br>
</body>
</html>