summaryrefslogtreecommitdiff
path: root/tests/mail/tests.py
AgeCommit message (Expand)Author
2025-10-17[5.2.x] Refs #35844 -- Doc'd Python 3.14 compatibility.Mariusz Felisiak
2025-04-24[5.2.x] Fixed #36309 -- Made email alternatives and attachments pickleable.nessita
2025-01-31[5.2.x] Fixed #36119 -- Fixed UnicodeEncodeError when attaching a file with 8...greg
2024-12-03Refs #35581 -- Added tests for email parameters, attachments, MIME structure,...Mike Edmunds
2024-12-03Refs #35581 -- Used modern email parser and helpers in mail tests.Mike Edmunds
2024-12-03Refs #35581 -- Improved reporting for failing tests in mail tests.Mike Edmunds
2024-10-29Refs #35581 -- Reduced boilerplate in mail tests.Mike Edmunds
2024-10-29Refs #35581 -- Identified mail tests that check for Python 2 behavior.Mike Edmunds
2024-10-29Refs #35581 -- Verified attachments in the generated message in mail tests.Mike Edmunds
2024-10-29Refs #35581 -- Clarified some test names and comments in mail tests.Mike Edmunds
2024-08-05Refs #35537 -- Improved documentation and test coverage for email attachments...Jake Howard
2024-07-11Fixed #35033, Refs #28912 -- Fixed repeated headers in EmailMessage.Mike Edmunds
2024-06-21Fixed #35528 -- Added EmailMultiAlternatives.body_contains() helper method.Ronny Vedrilla
2024-06-20Fixed #35537 -- Changed EmailMessage.attachments and EmailMultiAlternatives.a...Jake Howard
2024-06-14Fixed mail.tests.MailTests.test_backend_arg() test on Python 3.13+.Mariusz Felisiak
2024-04-10Refs #35361 -- Added test for Email line length checks when dealing with surr...Natalia
2024-01-26Applied Black's 2024 stable style.Mariusz Felisiak
2024-01-04Used enterClassContext() where appropriate.Mariusz Felisiak
2023-12-31Used addCleanup() in tests where appropriate.Mariusz Felisiak
2023-10-25Fixed #34904 -- Prevented mutating sent emails from outbox in locmem email ba...sindre
2023-07-17Refs #34118 -- Improved sanitize_address() error message for tuple with empty...Mariusz Felisiak
2022-11-10Updated documentation and comments for RFC updates.Nick Pope
2022-02-19Refs #33173 -- Fixed MailTests.test_backend_arg() on Windows and Python 3.11+.David Smith
2022-02-07Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2021-10-15Refs #32074 -- Removed usage of deprecated asyncore and smtpd modules.Mariusz Felisiak
2021-10-14Refs #27131 -- Removed SMTPBackendTests.test_server_login().Mariusz Felisiak
2021-06-04Refs #32355 -- Used addClassCleanup() in tests.Mariusz Felisiak
2021-03-19Refs #32508 -- Raised Type/ValueError instead of using "assert" in django.core.Daniyal
2020-08-07Used mock.Mock() in SMTPBackendTests.Konstantin Alekseev
2020-07-20Fixed #31784 -- Fixed crash when sending emails on Python 3.6.11+, 3.7.8+, an...Florian Apolloner
2020-07-20Refs #31784 -- Added test for preventing header injection in display name of ...Mariusz Felisiak
2020-04-20Capitalized Unicode in docs, strings, and comments.Jon Dufresne
2019-11-06Adjusted expected exception message for Windows.Jon Dufresne
2019-11-06Refs #29983 -- Added pathlib.Path support to the file email backend.Jon Dufresne
2019-07-03Fixed #30608 -- Fixed non-unicode EmailMessage crash when domain name for loc...Chason Chaffin
2019-07-02Fixed #30604 -- Made mail_admins()/mail_managers() raise ValueError if ADMINS...Hasan Ramezani
2019-06-13Refs #30512, #15042 -- Added local-only address to sanitize_email() tests cases.Carlton Gibson
2019-06-13Fixed #30512 -- Used email.headerregistry.parser for parsing emails in saniti...Joachim Jablon
2019-06-06Refs #30512 -- Added tests for sanitizing email addresses with display name a...Joachim Jablon
2019-06-06Refs #30512 -- Used subTest() in MailTests.test_sanitize_address.Joachim Jablon
2019-02-09Removed uneeded generator expressions and list comprehensions.Sergey Fedoseev
2019-01-30Fixed #30116 -- Dropped support for Python 3.5.Tim Graham
2019-01-28Fixed #30137 -- Replaced OSError aliases with the canonical OSError.Jon Dufresne
2019-01-02Used 4 space hanging indent for dictionaries.Tim Graham
2018-12-26Fixed #30058 -- Made SMTP EmailBackend.send_messages() return 0 for empty/err...Denis Stebunov
2018-10-22Fixed #29830 -- Fixed loss of custom utf-8 body encoding in mails.jannschu
2018-08-04Removed unnecessary str() in mail tests.Tim Graham
2018-03-16Fixed hanging indentation in various code.Mariusz Felisiak
2018-02-20Fixed #29140 -- Fixed EmailMessage crash when body is None.Williams Mendez