1
0
Fork 1
mirror of https://github.com/coddingtonbear/django-mailbox.git synced 2026-07-09 22:38:19 +02:00

Added test django_mailbox.tests.test_process_email.TestProcessEmail.test_message_reply

This commit is contained in:
Adam Dobrawy 2015-03-15 00:42:57 +01:00
parent 24138d1dc7
commit 552e033655
2 changed files with 32 additions and 1 deletions

View file

@ -19,6 +19,7 @@ def get_email_as_text(name):
) as f:
return f.read()
class EmailMessageTestCase(TestCase):
ALLOWED_EXTRA_HEADERS = [
'MIME-Version',
@ -30,7 +31,7 @@ class EmailMessageTestCase(TestCase):
self._STRIP_UNALLOWED_MIMETYPES = models.STRIP_UNALLOWED_MIMETYPES
self._TEXT_STORED_MIMETYPES = models.TEXT_STORED_MIMETYPES
self.mailbox = Mailbox.objects.create()
self.mailbox = Mailbox.objects.create(from_email='from@example.com')
super(EmailMessageTestCase, self).setUp()
def _get_email_as_text(self, name):