Menu

#66 t_cext.py unit test errors (python-ldap 2.4.19)

None
closed-fixed
None
5
2016-02-05
2015-04-24
No

All but one of the unit tests for t_cext.py fails in python-ldap 2.4.19. Most of the errors are due to a missing attribute 'result3', if changed to 'result4' all the tests pass. I have included a patch that fixes all the unit tests for t_cext.py. I am running Python 2.7.5 on a RHEL6 system. Below is an example error, one of many:

======================================================================
ERROR: test_abandon (__main__.TestLdapCExtension)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "t_cext.py", line 208, in test_abandon
    l = self._init()
  File "t_cext.py", line 42, in _init
    result,pmsg,msgid,ctrls = l.result3(m, _ldap.MSG_ONE, self.timeout)
AttributeError: result3
1 Attachments

Discussion

  • David D. Riddle

    David D. Riddle - 2015-04-24

    I have attached a log of all the errors I recieved.

     
  • Michael Ströder

    • status: open --> closed-fixed
    • assigned_to: Michael Ströder
    • Group: -->
     
  • Michael Ströder

    fix will be released with 2.4.26

     

Log in to post a comment.