Honor TEST_RUNNER setting on runtests.py
|Reported by:||leosoto||Owned by:|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
When running Django on Jython, we like to use a custom test runner to run the Django test suite. Unfortunately, runtests is hardcoded to use the simple runner bundled with Django.
It could be argued that I can always write my own runtests.py, but runtests itself is clearly not API-oriented and at least the whole django_tests function should be duplicated.
The attached patch is quite non-invasive and uses the runner specified on the settings, just as the "test" management command does.
Change History (5)
Changed 7 years ago by leosoto
comment:1 Changed 7 years ago by ericholscher
- Owner changed from nobody to ericholscher
- Status changed from new to assigned
comment:2 Changed 7 years ago by ericholscher
- Owner ericholscher deleted
- Status changed from assigned to new