#36953: Refactor Django mail tests
-------------------------------------+-------------------------------------
     Reporter:  Mike Edmunds         |                    Owner:  Mike
         Type:                       |  Edmunds
  Cleanup/optimization               |                   Status:  assigned
    Component:  Core (Mail)          |                  Version:  6.0
     Severity:  Normal               |               Resolution:
     Keywords:  tests                |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Mike Edmunds):

 5. Remove unnecessary
 
`@override_settings(EMAIL_BACKEND="django.core.mail.backends.locmem.EmailBackend")`.
 (Django's test runner automatically substitutes the locmem EmailBackend
 during tests.)
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36953#comment:4>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019cf3c38ead-59755d44-5e19-4d81-9ff7-d12556e5fd20-000000%40eu-central-1.amazonses.com.

Reply via email to