Roland Stigge wrote:
> ===============================================================================
> FAILURE: test_children_twoChildren (ldaptor.test.test_ldiftree.Tree)
> -------------------------------------------------------------------------------
> Traceback: twisted.trial.unittest.FailTest, 
> [DistinguishedName(listOfRDNs=(RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType='cn',
>  value='bar'),)), 
> RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType='ou',
>  value='metasyntactic'),)), 
> RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType='dc',
>  value='example'),)), 
> RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType='dc',
>  value='com'),)))), 
> DistinguishedName(listOfRDNs=(RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType='cn',
>  value='foo'),)), 
> RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType='ou',
>  value='metasyntactic'),)), 
> RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType='dc',
>  value='example'),)), RelativeDistinguishedName(attributeTypesAndValues=(LDAP
At
>  tributeTypeAndValue(attributeType='dc', value='com'),))))] != 
> [DistinguishedName(listOfRDNs=(RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType='cn',
>  value='foo'),)), 
> RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType='ou',
>  value='metasyntactic'),)), 
> RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType='dc',
>  value='example'),)), 
> RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType='dc',
>  value='com'),)))), 
> DistinguishedName(listOfRDNs=(RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType='cn',
>  value='bar'),)), 
> RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType='ou',
>  value='metasyntactic'),)), 
> RelativeDistinguishedName(attributeTypesAndValues=(LDAPAttributeTypeAndValue(attributeType='dc',
>  value='example'),)), RelativeDistinguishedName(attributeT
yp
>  esAndValues=(LDAPAttributeTypeAndValue(attributeType='dc', value='com'),))))]

I can't make that happen here, but it seems that's a case where we got
[bar, foo] and expected to get [foo, bar]. And the order seems to
come directly from readdir. That is, the test is unreliable.

I'll try to find all such cases and upload a fixed version, hopefully
today.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to