manage.py test doesn't run doctests for models split into separate files
|Reported by:||akaihola||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If models are split into separate files like this:
myapp/models/__init__.py myapp/models/polls.py myapp/models/posts.py
the manage.py test command only runs doctests for models defined in myapp/models/__init__.py.
This is true even if I import all the models in __init__.py.
Change History (5)
comment:1 Changed 9 years ago by akaihola
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset