Test runner does not test apps that do not have model files
|Reported by:||Moof||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The last three applications I've created are either middleware or do no database work. I'd like their tests to be included in a standard manage.py test, and I see no reason to clutter my application with an empty models.py file.
The test runner should be modified to search for a tests module in any of the defined installed_apps. Otherwise debugging can get a bit difficult if you can't be certain your middleware, etc, is not the reason your tests are failing.
Change History (3)
comment:1 Changed 8 years ago by Eratosfen
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset