#28478: Make DiscoverRunner skip creating a test database if not needed
--------------------------------------+------------------------------------
Reporter: Tim Graham | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Testing framework | Version: master
Severity: Release blocker | 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 Tim Graham <timograham@…>):
In [changeset:"f5b635086a07c9df5897e69685ebdc3a04049ec6" f5b63508]:
{{{
#!CommitTicketReference repository=""
revision="f5b635086a07c9df5897e69685ebdc3a04049ec6"
Refs #28478 -- Prevented connection attempts against disallowed databases
in tests.
Mocking connect as well as cursor methods makes sure an appropriate error
message is surfaced when running a subset of test attempting to access a
a disallowed database.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28478#comment:20>
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.b7202f0e0fc45458dcf5111d5d2817e6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.