1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/mail
Mike Edmunds b9098538a9 Fixed #35033, Refs #28912 -- Fixed repeated headers in EmailMessage.
Fixed a regression which would cause multiple To, Cc, and
Reply-To headers in the result of EmailMessage.message() if
values were supplied for both to/cc/reply_to and the
corresponding extra_headers fields.

Updated related tests to check the generated message() has
exactly one of each expected header using get_all().

Regression in b03d500295.
2024-07-11 08:00:46 +02:00
..
attachments
__init__.py
custombackend.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_sendtestemail.py Added test for the sendtestemail command when no recipients are given. 2024-01-24 15:02:42 -03:00
tests.py Fixed #35033, Refs #28912 -- Fixed repeated headers in EmailMessage. 2024-07-11 08:00:46 +02:00