How to run unittest discover from “python setup.py test”? January 28, 2023 by Tarik If you use py27+ or py32+, the solution is pretty simple: test_suite="tests",