I've got a package - we'll be creative and call it package
- and in there are api
and dashboard
packages, each with a tests
module and various files filled with tests.
I'm using Django test runner and rather than having package.api.tests
and package.dashboard.tests
in my run configs, I'd like to just have package.tests
and have that run all the tests in the packages below it.
I added a tests
package to package
and in the init tried a few things like from package.api.tests import *
or using an all declaration but that didn't work.
Is there a way to make this happen? It's not the most annoying thing in the world, but it's a package that gets brought in to each project we do, and it would just be a bit simpler to have instructions of "Run package.tests", especially if we end up adding more packages beyond api and dashboard.