mirror of
https://github.com/django/django.git
synced 2024-12-22 17:16:24 +00:00
bddd35cb1a
- Converted HeadersCheckMixin to MailTestsMixin for all shared helpers: - Hoisted assertStartsWith() from BaseEmailBackendTests. - Added matching assertEndsWith(). - Hoisted get_decoded_attachments() from MailTests. - Improved failure reporting in assertMessageHasHeaders(). - Used unittest subTest() to improve handling of compound test cases. - Replaced `assertTrue(test on string)` with custom assertions, so that failure reporting is more informative than `True != False`. |
||
---|---|---|
.. | ||
attachments | ||
__init__.py | ||
custombackend.py | ||
test_sendtestemail.py | ||
tests.py |