#20483: Reduce the set of apps seen by individual tests
--------------------------------------+------------------------------------
     Reporter:  akaariai              |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Testing framework     |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  1                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  1
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by aaugustin):

 Question: in current patches, the app containing the test is implicitly
 included. But with the new test discovery tests can live outside apps. I
 understand that including the current app in `available_apps` would be
 slightly more verbose, but it's also more consistent and explicit.

 The code for implicitly including the current app looks sufficiently
 robust, I don't have anything against in from a technical point of view.
 I'm really considering this from an API point of view -- ie. terse vs.
 explicit.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20483#comment:24>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.ffe93e04691da2e3dc83c8ac43cf50d4%40djangoproject.com?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to