Ticket #27848: 27848-test.diff

File 27848-test.diff, 572 bytes (added by Tim Graham, 7 years ago)
  • tests/mail/tests.py

    diff --git a/tests/mail/attachments/file.eml b/tests/mail/attachments/file.eml
    new file mode 100644
    index 0000000..e69de29
    diff --git a/tests/mail/tests.py b/tests/mail/tests.py
    index 63737b3..1b3e87b 100644
    a b class MailTests(HeadersCheckMixin, SimpleTestCase):  
    401401            ('file_png', None),
    402402            ('file_txt.png', 'image/png'),
    403403            ('file_png.txt', 'text/plain'),
     404            ('file.eml', 'message/rfc822'),
    404405        )
    405406        test_mimetypes = ['text/plain', 'image/png', None]
    406407
Back to Top