Closed sbraz closed 3 years ago
This also means that we could also run python -m unittest discover
instead of python -m unittest pulsectl.tests.all
and we could get rid of all.py
.
Good idea, thanks. Will check and update the README.
I'll do that myself, since I force-pushed too late and forgot to update all.py
:/
Another change, this time to make it easier to run the tests :smiley:
unittest
's discover module andpytest
expect test files to start with 'test'.https://docs.python.org/3/library/unittest.html#unittest.TestLoader.discover https://docs.pytest.org/en/6.2.x/goodpractices.html#conventions-for-python-test-discovery