Closed Mandelag closed 6 years ago
Hi! Im following the tutorial and copied the code, but the python setup.py test seems like not detecting the test.
python setup.py test
I found the solution here: https://stackoverflow.com/questions/17001010/how-to-run-unittest-discover-from-python-setup-py-test In which the test_suite in the setup.py file is changed to
test_suite="tests",
It seems I was mistaken. The test suite run even after I switched back to nose.collector. I just renamed the test file, and then switched it to the original to make it work.
nose.collector
Hi! Im following the tutorial and copied the code, but the
python setup.py test
seems like not detecting the test.I found the solution here: https://stackoverflow.com/questions/17001010/how-to-run-unittest-discover-from-python-setup-py-test In which the test_suite in the setup.py file is changed to