[python-ldap] how to run tests
pspacek at redhat.com
Wed Apr 20 06:38:33 EDT 2016
is there some documentation about running tests in Tests/ subdirectory?
I tried "python setup.py test" but it prints following text and does nothing:
> defines: HAVE_SASL HAVE_TLS HAVE_LIBLDAP_R
> extra_compile_args: -g
> include_dirs: /usr/include/sasl /usr/include
> library_dirs: /usr/lib /usr/lib64
> libs: ldap_r
> running test
How do I know it does nothing?
I've changed an assert in Tests/t_search.py:test_search_subtree() and it did
not fail despite my sabotage.
Apparently somebody else tried this too and failed:
So, what is the correct way of executing tests?
Petr Spacek @ Red Hat
More information about the python-ldap