summaryrefslogtreecommitdiff
path: root/tests/mail/tests.py
AgeCommit message (Expand)Author
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
2018-02-07Refs #27795 -- Removed force_bytes/text() usage in tests.Tim Graham
2018-01-15Added a few tests for smtp EmailBackend.Mads Jensen
2017-12-30Fixed #28912 -- Made EmailMessage.message() omit an empty To header.Jon Dufresne
2017-12-30Fixed #28971 -- Made EmailMessage.message() set Cc from headers dict if it ex...Jon Dufresne
2017-12-29Tested passing To/Cc/Reply-To in EmailMessage(headers=...) without the corres...Jon Dufresne
2017-09-25Fixed #27857 -- Dropped support for Python 3.4.Tim Graham
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
2017-09-04Fixed #26344 -- Made EmailMessage include alternatives when the body is empty...Igor Tokarev
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-04-07Fixed #28042 -- Fixed crash when using a two-tuple in EmailMessage's attachme...kalombo
2017-04-07Tested EmailMessage(attachments=[MIMEText])kalombo
2017-04-01Fixed #27848 -- Prevented crash when attaching a .eml file to a messageClaude Paroz
2017-03-04Refs #27795 -- Removed unneeded force_text callsClaude Paroz
2017-02-09Refs #23919 -- Removed default 'utf-8' argument for str.encode()/decode().Tim Graham
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
2017-01-26Refs #23919 -- Replaced tempfile.mkdtemp() with TemporaryDirectory() context ...Chillar Anand
2017-01-25Refs #23919 -- Removed misc Python 2/3 references.Tim Graham
2017-01-25Refs #23919 -- Replaced super(ClassName, self) with super().chillaranand
2017-01-20Refs #23919 -- Removed unneeded str() callsClaude Paroz
2017-01-20Refs #23919 -- Removed django.utils._os.upath()/npath()/abspathu() usage.Tim Graham
2017-01-19Refs #23919 -- Stopped inheriting from object to define new style classes.Simon Charette
2017-01-18Refs #23919 -- Removed most of remaining six usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.<various>_types usageClaude Paroz
2017-01-18Refs #23919 -- Removed six.PY2/PY3 usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2017-01-06Fixed #27696 -- Measured email long lines on encoded contentClaude Paroz
2016-11-10Refs #27392 -- Removed "Tests that", "Ensures that", etc. from test docstrings.za
2016-11-10Fixed #27469 -- Prevented sending email to empty addressesClaude Paroz
2016-10-21Fixed #27368 -- Modifed BaseEmailBackend.__enter__() to close the connection ...Jon Dufresne