#16643: Test Email Backend (locmem) accepts email with blank recipients
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  joelhaasnoot@…                     |         Status:  new
                   Type:  New        |      Component:  Testing framework
  feature                            |       Severity:  Normal
              Milestone:             |       Keywords:
                Version:  1.3        |      Has patch:  0
             Resolution:             |    Needs tests:  0
           Triage Stage:  Design     |  Easy pickings:  0
  decision needed                    |
    Needs documentation:  0          |
Patch needs improvement:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------

Comment (by mlavin):

 I don't think email message validation is appropriate in the locmem
 backend. Your application should not be relying the STMP server throwing
 errors to validate recipients and your testcase shouldn't either. If you
 want to validate the recipients in your testcase you can pull them off the
 message and assert that they are correct. If you need the email backend to
 raise an exception for a testcase it's simple to patch/mock that behavior
 with available mocking libraries.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16643#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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to