[python-ldap] Tests run by hand

Petr Viktorin pviktori at redhat.com
Wed Feb 1 10:41:32 EST 2017


On 01/09/2017 05:32 PM, Michael Ströder wrote:
> Petr Viktorin wrote:
>> These tests:
>>
>> Tests/Lib/ldap/schema/test_tokenizer.py
>> Tests/Lib/ldap/test_modlist.py
>> Tests/Lib/test_ldapurl.py
>>
>> only signal failure by printing to stdout. This makes them cumbersome to run
>> automatically.
>> Is there a reason for this behavior?
>
> Ancient historic artefacts before automated testing got normal. ;-)
>
>> Would you accept a patch that converts them to unittest and adds them to
>> runtests.sh?

It's low priority, other projects are taking up a lot of my time, but 
I'm slowly working on this.

I noticed that the last two test cases in 
Tests/Lib/ldap/schema/test_tokenizer.py (marked "for Oracle") fail.
Unfortunately LDAP tokenization is beyond my experience, I can't tell 
what the behavior should be here. Can you shed some light on it?



-- 
Petr Viktorin


More information about the python-ldap mailing list