#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:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Jacob Walls <jacobtylerwalls@…>):

 In [changeset:"a8ef1a697bbe7b74141cd74c26d15ed35dd7817f" a8ef1a6]:
 {{{#!CommitTicketReference repository=""
 revision="a8ef1a697bbe7b74141cd74c26d15ed35dd7817f"
 Refs #36953 -- Split apart catchall MailTests.

 Replaced large MailTests class with smaller classes focused on
 specific django.core.mail APIs:

 - EmailMessageTests: covering EmailMessage and EmailMultiAlternatives
   classes (the bulk of the former MailTests cases).
 - SendMailTests, SendMassMailTests, MailAdminsAndManagersTests:
   covering the function-based mail APIs.
 - GetConnectionTests: covering get_connection().
 - DeprecatedInternalsTests: covering deprecated internal methods used
   in deprecated functionality.
 - DummyBackendTests: covering the dummy EmailBackend.

 In the process, moved the two cases from MailTimeZoneTests into the new
 EmailMessageTests, as they related to EmailMessage Date headers.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36953#comment:15>
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/0107019d7c9b6949-db85fab1-fca6-4386-9e84-037f86720df6-000000%40eu-central-1.amazonses.com.

Reply via email to