On Fri, 2012-06-01 at 12:14 +0200, Petr Viktorin wrote:
> On 05/31/2012 04:58 PM, Martin Kosek wrote:
> > On Thu, 2012-05-31 at 13:42 +0200, Petr Viktorin wrote:
> >> On 05/29/2012 03:11 PM, Martin Kosek wrote:
> >>> Precallback validator was failing when a zone-relative name was
> >>> used as a NS record (for example record "ns" in a zone "example.com").
> >>> However, this is valid in BIND and we should allow it as well.
> >>>
> >>> Imports in dns module had to be switched to absolute imports
> >>> (available from Python 2.5) to deal with a conflict of IPA dns
> >>> module and dnspython module.
> >>>
> >>> https://fedorahosted.org/freeipa/ticket/2630
> >>>
> >>
> >> This works fine, but it breaks a test:
> >>
> >> ======================================================================
> >> FAIL: test_dns[48]: dnsrecord_add: Try to add unresolvable NS record to
> >> u'testdnsres' using dnsrecord_add
> >> ----------------------------------------------------------------------
> >> [...]
> >>
> >>     expected = u"Nameserver 'does.not.exist' does not have a
> >> corresponding A/AAAA record"
> >>     got = u"Nameserver 'does.not.exist.dnszone.test.' does not have a
> >> corresponding A/AAAA record"
> >>     path = ()
> >>
> >
> > I updated the tests to use an absolute DNS record. All DNS tests should
> > now succeed.
> >
> > Martin
> 
> It works fine now, ACK.
> 
> It would be nice to also test that the zone is appended, though.
> 

Right, I added a test case also for a check of relative NS record and
the respective error message.

Pushed to master.

Martin

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to