#32939: Permit override_settings to work with test class mixins that don't 
inherit
from unittest.TestCase
-------------------------------------+-------------------------------------
     Reporter:  Chris Jerdonek       |                    Owner:  Chris
         Type:                       |  Jerdonek
  Cleanup/optimization               |                   Status:  assigned
    Component:  Testing framework    |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Chris Jerdonek):

 > This way the mixin won't have its setUp methods run unnecessarily on a
 test-case class with no tests, and it won't count towards the parallel
 test runner's test-case class count, etc.

 Investigating further, it turns out neither of these seem to happen in
 practice, since test classes without tests get filtered out. Nevertheless,
 being able to apply the decorator to test mixins would still be a useful
 enhancement.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32939#comment:6>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.90662f341785cd610bedddc4a6089876%40djangoproject.com.

Reply via email to