summaryrefslogtreecommitdiff
path: root/tests/mail/tests.py
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2017-04-01 15:08:21 +0200
committerClaude Paroz <claude@2xlibre.net>2017-04-01 16:19:03 +0200
commit9a9e22832166594e3561fa1911dd255a2fb09b2b (patch)
tree85b3c28200c8a445be6ba71a3910922f8b969d50 /tests/mail/tests.py
parentbde86ce9ae17ee52aa5be9b74b64422f5219530d (diff)
Fixed #27848 -- Prevented crash when attaching a .eml file to a message
Thanks Sébastien Ramage for the report.
Diffstat (limited to 'tests/mail/tests.py')
-rw-r--r--tests/mail/tests.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/mail/tests.py b/tests/mail/tests.py
index a9d9885650..2527932997 100644
--- a/tests/mail/tests.py
+++ b/tests/mail/tests.py
@@ -401,6 +401,7 @@ class MailTests(HeadersCheckMixin, SimpleTestCase):
('file_png', None),
('file_txt.png', 'image/png'),
('file_png.txt', 'text/plain'),
+ ('file.eml', 'message/rfc822'),
)
test_mimetypes = ['text/plain', 'image/png', None]