Python package structure, setup.py for running unit tests

Through some trial and error, I found the cause of this problem. Test names should match module names. If there is a “foo_test.py” test, there needs to be a corresponding module foo.py.

I found some guidelines on organizing package structure, which helped me reorganize my package into a structure I was confident in.

Leave a Comment