Commit 8813fa46 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Jérome Perrin

Revert "testInterfacePost: ignore the difference of Message-ID header format on zope5py3."

This reverts commit 92f2197f.
parent 5a928418
......@@ -247,7 +247,7 @@ class TestInterfacePost(ERP5TypeTestCase):
last_message, = self.portal.MailHost._message_list
self.assertNotEqual((), last_message)
_, _, message_text = last_message
self.assertIn(message_text.replace(b'Message-ID: \n ', b'Message-ID: '), sequence['internet_message_post'].getData())
self.assertIn(message_text, sequence['internet_message_post'].getData())
def _getMailHostMessageForRecipient(self, recipient_email_address):
message_list = self.portal.MailHost._message_list
......@@ -268,7 +268,7 @@ class TestInterfacePost(ERP5TypeTestCase):
self.assertEqual(len(message_list), 1)
message = message_list[0]
_, _, message_text = message
self.assertIn(message_text.replace(b'Message-ID: \n ', b'Message-ID: '), post.getData())
self.assertIn(message_text, post.getData())
def stepCheckMailMessagePreviewDisplaysLatestInternetMessagePostData(self, sequence=None, sequence_list=None):
mail_message = sequence['mail_message']
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment