fix test and exception handling in code
With python 2 it was possible to do exception[0][...] to recover
details about an exception.
It's no longer authorized with python 3.
Now, we must do something like exception.args or exception.urls.
fortunately this syntax also works with python 2.
So we use it for both.
1 parent 90ff695 commit baa3430e637589814267eb88dc0741eefe81f621
@kakwa kakwa authored on 10 Feb 2019
Showing 3 changed files
View
ldapcherry/backend/backendLdap.py
View
tests/test_BackendLdap.py
View
tests/test_LdapCherry.py