#35514: Dictionary based EMAIL_PROVIDERS settings
-----------------------------+----------------------------------------
Reporter: Jacob Rief | Owner: Mike Edmunds
Type: New feature | Status: assigned
Component: Core (Mail) | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-----------------------------+----------------------------------------
Comment (by nessita <124304+nessita@…>):
In [changeset:"c8fefebecaa58fe4258d573addefb3629bde3e4d" c8fefeb]:
{{{#!CommitTicketReference repository=""
revision="c8fefebecaa58fe4258d573addefb3629bde3e4d"
Refs #35514 -- Simplified mail tests.
* Removed unnecessary empty username/password args and unnecessary test
email content.
* Replaced monkeypatching with mock.patch. Minimized scope of patches.
* Added missing assertions in some tests.
* Cleaned up uses of assertTrue() and assertFalse().
* Removed implicit assumption in LocmemBackendTests that mail is always
sent by the locmem backend during tests.
* Made FileBackendTests tmp_dir cleanup more robust, and added helpers
to simplify test cases.
* Split FileBackendTests.test_sessions() into three distinct cases (and
removed unrelated, duplicative verification of message content).
* Used mock to simplify and improve accuracy of SMTP AUTH test.
* Replaced `get_connection("mail.custombackend.EmailBackend")` with
direct `custombackend.EmailBackend()` construction to avoid soon-to-
be-deprecated usage of `get_connection(backend_path)` in cases that
aren't trying to test creating a connection from an import path.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35514#comment:41>
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/0107019e0016e409-f4290738-7759-45ac-a7ca-780520cb8b7b-000000%40eu-central-1.amazonses.com.