#29236: diffsettings raises misleading exception message if using
settings.configure()
-------------------------------------+-------------------------------------
     Reporter:  Keryn Knight         |                    Owner:  Chris
                                     |  Mark
         Type:  Bug                  |                   Status:  assigned
    Component:  Core (Management     |                  Version:  master
  commands)                          |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  1                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Chris Mark):

 Keryn I found it difficult to add a test for the patch, since I cannot
 find a proper way to create the environment needed to catch this case.

 On
 
https://github.com/django/django/blob/master/tests/admin_scripts/tests.py#L2166,
 the tests use a target settings file, and if it is not present the tests
 will fail, so I need to configure somehow the settings, before(?)
 executing the actual command.

 Any proposal or insight?

 Chris

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29236#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 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.3e26c82e553094cdba8d3c73e9bbfcfa%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to