#19885: Make all testing tools importable from django.test
------------------------------------------------+------------------------
               Reporter:  akaariai              |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Testing framework     |        Version:  master
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 Currently it is nearly impossible to remember which module has which
 testing item. For example:
   - expectedFailure, skipUnlessDBFeature, ... is from django.test
   - skipIf is from django.utils.unittest
   - override_setting is from django.test.utils
   - parse_html from django.test.html

 I can't remember where to import these. I will always do a git grep in the
 test directory to see the correct import location. I would like to be able
 to import everything from django.test. Or at least django.utils.unittest.*
 + override_settings.

 Is there some reason for the current split?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19885>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to