One of the unit tests for t_ldapurl.py fails in python-ldap 2.4.19. I am running Python 2.7.5 on a RHEL6 system. Googling around it looks like this is/was a known issue on the mailing list here. I am reporting this issue now to ask that you please either fix the underling issue or add a @unittest.expectedFailure decorator to the failing test. I have included a patch that does that.
$ python t_ldapurl.py F.................. ====================================================================== FAIL: test_bad_urls (__main__.TestLDAPUrl) ---------------------------------------------------------------------- Traceback (most recent call last): File "t_ldapurl.py", line 237, in test_bad_urls self.fail("should have raised ValueError: %r" % bad) AssertionError: should have raised ValueError: 'ldap:///?????' ---------------------------------------------------------------------- Ran 19 tests in 0.005s FAILED (failures=1)
added @unittest.expectedFailure for now