#31055: Omits test_ prefix from database name when running subset of tests
-------------------------------------+-------------------------------------
     Reporter:  Matthijs Kooijman    |                    Owner:  Simon
                                     |  Charette
         Type:  Bug                  |                   Status:  assigned
    Component:  Testing framework    |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Simon Charette):

 Matthijs, you can see links to Github PRs in the ticket description at the
 top.

 https://github.com/django/django/pull/12201

 > As for the fix, I wonder if maybe the connections object should just be
 trimmed to only contain the used databases, so all other code that
 iterates the databases will only see the ones actually in use

 You'd have to give it a shot to make sure but I'm afraid it might break
 backward compatibility in subtle ways.

 To me this issue is really similar to the ones discovered during #26351
 where checks that require database accesses should be special cased.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/31055#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/074.0e7252f1d132feec8f866de7068a7344%40djangoproject.com.

Reply via email to