#26843: empty_label argument on ModelChoiceField is not tested
-------------------------------------+-------------------------------------
     Reporter:  smarlowucf           |                    Owner:
         Type:                       |  smarlowucf
  Cleanup/optimization               |                   Status:  assigned
    Component:  Testing framework    |                  Version:  master
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:
  ModelChoiceField,Tests,empty_label |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by bmispelon):

 Hi,

 I forced `self.empty_label = 'some hardcoded string'` inside
 `ModelChoiceField` and ran the full test suite. This yielded 22 failures,
 all related to my change.

 To me this seems to indicate that the feature is being tested, no? Can you
 ellaborate on what makes you say it's not being tested?


 Thanks!

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

Reply via email to