Tests in tests.py not run in an app without a models.py file
|Reported by:||anonymous||Owned by:||adrian|
|Cc:||Triage Stage:||Design decision needed|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If you have an app for common custom template tags (for example), without a models.py file, but the app contains a tests.py file, tests from tests.py are not run by django.test.simple.run_tests.
Should it be mandatory for an installed app to contain a models.py file?
Change History (3)
comment:2 Changed 9 years ago by Simon G. <dev@…>
- Triage Stage changed from Unreviewed to Design decision needed