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

Allow tests relating to mail replies to properly run for pull requests.

This commit is contained in:
Adam Coddington 2015-08-30 19:40:29 -07:00
parent 4b49b0b045
commit f2b352a68a

View file

@ -230,7 +230,8 @@ class TestProcessEmail(EmailMessageTestCase):
reply_email_object.from_email = None
second_reply_msg = msg.reply(reply_email_object)
with mock.patch.object(reply_email_object, 'send'):
second_reply_msg = msg.reply(reply_email_object)
self.assertEqual(self.mailbox.from_email, second_reply_msg.from_header)