diff options
| author | Mike Edmunds <medmunds@gmail.com> | 2026-03-19 13:59:34 -0700 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2026-04-11 08:54:07 -0400 |
| commit | 3ef48ca6c10830914b09abd20ef48a705e1fbfcd (patch) | |
| tree | 945f86ce2aa4d22a30f13a2ebd33608c9457956e /scripts | |
| parent | a8ef1a697bbe7b74141cd74c26d15ed35dd7817f (diff) | |
Refs #36953 -- Moved non-backend-dependent BaseEmailBackendTests.
Relocated BaseEmailBackendTests that are _not_ dependent on the email
backend.
- In general, moved test cases to EmailMessageTests or SendMailTests
as appropriate, and changed them to work with the testing outbox.
- Replaced BaseEmailBackendTests.test_send_verbose_name() with
EmailMessageTests.test_unicode_display_name_in_from_email().
(EmailMessageTests.test_address_header_handling() also partly covers
the behavior, as well as Python's own message serialization tests.)
- Removed BaseEmailBackendTests.test_message_cc_header(), which was
already covered by EmailMessageTests.test_cc*() (and Python's own
message serialization tests).
- Replaced BaseEmailBackendTests.test_idn_send() with
EmailMessageTests.test_idn_addresses() to cover from_email and cc.
(EmailMessageTests.test_address_header_handling() already covered to.)
- Removed BaseEmailBackendTests.test_recipient_without_domain(), which
was partly covered by EmailMessageTests.test_localpart_only_address().
Updated the latter to cover a localpart-only from_email.
- Updated docstrings and comments to clarify a few tests that _do_
depend on the email backend.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
