#10165: Honor TEST_RUNNER setting on runtests.py
---------------------------------+------------------------------------------
   Reporter:  leosoto            |                Owner:  nobody    
     Status:  new                |            Milestone:            
  Component:  Testing framework  |              Version:  1.0       
   Keywords:                     |                Stage:  Unreviewed
  Has_patch:  1                  |           Needs_docs:  0         
Needs_tests:  0                  |   Needs_better_patch:  0         
---------------------------------+------------------------------------------
 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.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/10165>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to