#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 Matthijs Kooijman):
Simon, you set "has patch", but I cannot see any patch. Was that
unintentional?
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? I believe
there is code in multiple places now that has special casing for when a
subset of databases is in use to not use all of the `connections` but only
some, that could maybe also be simplified. On the other hand, this seems
like an obvious implementation for using a subset of databases, so I guess
there is a reason this implementation is not used right now?
--
Ticket URL: <https://code.djangoproject.com/ticket/31055#comment:5>
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.79393dc6744b5ba5cf4afbe5453dcc8c%40djangoproject.com.