Opened 18 years ago
Closed 18 years ago
#3125 closed defect (duplicate)
Tests in tests.py not run in an app without a models.py file
Reported by: | anonymous | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Testing framework | Version: | dev |
Severity: | trivial | Keywords: | doctest, unittest |
Cc: | Triage Stage: | Design decision needed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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?
c.
Change History (3)
comment:1 by , 18 years ago
milestone: | Version 1.0 |
---|
comment:2 by , 18 years ago
Triage Stage: | Unreviewed → Design decision needed |
---|
comment:3 by , 18 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Marking this a dup of #3310, as there is a patch there.
Note:
See TracTickets
for help on using tickets.
Milestone Version 1.0 deleted