tests.py cannot be split to package always
|Reported by:||Jari Pennanen||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
tests.py grew too big, and followed advice to split it to package
tests, but not all features are supported that way, which is a shame, there really should be support.
Especially the models defined in
tests.py cannot be moved to individual
tests/sometest.py, even though one imports all from
tests/__init__.py it keeps throwing error that the model is not created to database.
See also my django-users discussion, for more thorough example.