#32395: Migrate signals verbose stdout emissions are not capturable
------------------------------------------------+------------------------
               Reporter:  Simon Charette        |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Migrations            |        Version:  3.1
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 The `migrate` command takes a `--verbosity` flag that is passed down to
 `emit_pre_migrate_signal` and `emit_post_migrate_signal` functions but
 these are not provided which `stdout` the output should be directed to.
 This makes testing `migrate -v2` through `call_command` pollute
 `sys.stdout` when it should be directed to the provided `stdout` as
 discovered in
 https://github.com/django/django/pull/13890#pullrequestreview-579320176

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32395>
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/052.07a86d234fe22e267446c9a1b5820a8c%40djangoproject.com.

Reply via email to