-
Notifications
You must be signed in to change notification settings - Fork 126
Tox: replace setup.py test with unittest discover #335
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #335 +/- ##
==========================================
+ Coverage 71.38% 71.42% +0.03%
==========================================
Files 49 49
Lines 4837 4714 -123
Branches 808 785 -23
==========================================
- Hits 3453 3367 -86
+ Misses 1050 1027 -23
+ Partials 334 320 -14
Continue to review full report at Codecov.
|
The changeset breaks coverage and codecov. Back to the drawing board! |
478da41
to
da85e98
Compare
Let's try coverage 5.1 |
setup.py test is deprecated and causes issues with testing our code. There are cases where the wrong shared library is picked up. The ``unittest discover`` approach avoids building the extension twice. Install coverage < 5.0 to work around a problem with sqlite. python-ldap should move to pytest eventually. Fixes: python-ldap#326 Signed-off-by: Christian Heimes <cheimes@redhat.com>
For some reason, Travis CI is not reporting results. But the build for 68bfc62 passed: https://travis-ci.org/github/python-ldap/python-ldap/builds/695111114 |
Thanks! |
setup.py test is deprecated and causes issues with testing our code.
There are cases where the wrong shared library is picked up.
The
unittest discover
approach avoids building the extension twice.python-ldap should move to pytest eventually.
Fixes: #326
Signed-off-by: Christian Heimes cheimes@redhat.com