#33183: keepdb results in "Using existing database" log line, even when no
database
exists
------------------------------------------------+------------------------
Reporter: valentijnscholten | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Testing framework | Version: 3.2
Severity: Normal | Keywords: keepdb
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
The log output for running tests with `--keepdb` can be confusing:
- make sure no test database exists
- run a test with `--keepdb`
- observe log output `Using existing test database for alias 'default'...`
- observe that a new test database is created now, without any log output
(unless there are migrations which output logs)
Solution:
Update log lines to reflect what's happening.
--
Ticket URL: <https://code.djangoproject.com/ticket/33183>
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/060.b6443a2c1882041497c27a4f4504b72b%40djangoproject.com.