doctest in projects with models split into seperate files not working
|Reported by:||Owned by:||Adrian Holovaty|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
I've taken over a project with a lot of models and split them into separate files (project/app/models/ModelName.py, etc. and doing the imports in the init.py) and everything works well...except doctest.
My doctests were working with the all-models-in-one-file setup but aren't
anymore--unit tests still work though. SVN Django and python 2.4.3.
Change History (6)
comment:1 Changed 9 years ago by
|Component:||Core framework → Unit test system|
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|