Commit 666de943 authored by Nicolas Wavrant's avatar Nicolas Wavrant

erp5_interface_post: update tests

parent 0f71e60e
......@@ -257,8 +257,7 @@ class TestInterfacePost(ERP5TypeTestCase):
)
self.assertEqual(
mail_message.getTextContent(),
self.portal.Base_getFirstPartFromMultipartMessage(
internet_message_post.getData())
internet_message_post.InternetMessagePost_getFirstPartFromMultipartMessage()
)
def stepCheckOnlyOneMessageHasBeenSentFromMailHost(self, sequence=None, sequence_list=None):
......@@ -343,7 +342,7 @@ class TestInterfacePost(ERP5TypeTestCase):
self.assertEqual(response.getSimulationState(), 'delivered')
def stepLaunchExportOnLetterPostModule(self, sequence=None, sequence_list=None):
self.portal.letter_post_module.LetterPostModule_exportExportableLetterPostActivity(user_name=self.user.getUserId())
self.portal.letter_post_module.LetterPostModule_exportExportableLetterPostActivity(user_name=self.user.getUserId(), comment='To print')
def stepCheckAggregatingPDFDocument(self, sequence=None, sequence_list=None):
pdf_document_list = self._portal_catalog(portal_type='PDF')
......
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