mirror of
https://github.com/coddingtonbear/django-mailbox.git
synced 2026-07-10 06:48:19 +02:00
Fix parsing text message with text attachment
This commit is contained in:
parent
4100f2ea62
commit
a673b17fb3
2 changed files with 3 additions and 1 deletions
|
|
@ -401,7 +401,7 @@ class TestProcessEmail(EmailMessageTestCase):
|
|||
msg = self.mailbox.process_incoming_message(email_object)
|
||||
|
||||
self.assertEqual(msg.attachments.all().count(), 1)
|
||||
self.assertNotIn('This is an attachment.', msg.text)
|
||||
self.assertEqual('Has an attached text document, too!', msg.text)
|
||||
|
||||
def test_message_with_long_content(self):
|
||||
email_object = self._get_email_object(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue