summaryrefslogtreecommitdiff
path: root/tests/model_fields
diff options
context:
space:
mode:
authorMike Edmunds <medmunds@gmail.com>2024-08-24 12:57:47 -0700
committerSarah Boyce <42296566+sarahboyce@users.noreply.github.com>2024-12-03 11:17:12 +0100
commitbddd35cb1a45593935d28dcb08dd69e0bf7c0d2c (patch)
treea4e28a45e13f279e57e8e8e833349dd5c8e5959f /tests/model_fields
parent871e1ee5ff0b75aee5dd1bd3e88e349ca0ddc60d (diff)
Refs #35581 -- Improved reporting for failing tests in mail tests.
- 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`.
Diffstat (limited to 'tests/model_fields')
0 files changed, 0 insertions, 0 deletions