Deprecate test_it in favour of test discovery
The test_it.py script explicitly pulls in and starts all tests. This can be delegated to setup.py to use auto discovery of tests.
Simply add the root folder of your tests as test_suite to the setup call in setup.py:
setup(
...
test_suite='tests',
...
)
See also: Stackoverflow: How to run unittest discover from “python setup.py test”?