#21739: When running tests, the fixture loading process has verbosity = 0 
hardcoded
-------------------------------------+-------------------------------------
     Reporter:  camilo.lopez.a@…     |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Testing framework    |                  Version:  1.6
     Severity:  Normal               |               Resolution:
     Keywords:  test fixture         |             Triage Stage:
  verbosity                          |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by camilo.lopez.a@…):

 The issue with the fixtures was that I hadn't a models.py file in my app,
 so all the fixtures where not recognized and it was filing silently.
 I discovered the issue debugging on the source code of Django. I changed
 verbosity from 0 to 2 and was able to realise what was going on.

 The models.py thing should be documented or better, change that behavior
 to just read from installed apps as one will expect.
 call_command should inherit verbosity from the test command.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21739#comment:2>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/082.7a545402ebe3f3e071a947b98a171734%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to