forked from mirror/django-mailbox
Allow tests relating to mail replies to properly run for pull requests.
This commit is contained in:
parent
4b49b0b045
commit
f2b352a68a
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue