Commit bda20640 authored by Nicolas Wavrant's avatar Nicolas Wavrant

fixup! erp5_interface_post: add test suite

parent 64d3875c
...@@ -200,7 +200,7 @@ class TestInterfacePost(ERP5TypeLiveTestCase): ...@@ -200,7 +200,7 @@ class TestInterfacePost(ERP5TypeLiveTestCase):
) )
def stepCheckOnlyOneMessageHasBeenSentFromMailHost(self, sequence=None, sequence_list=None): def stepCheckOnlyOneMessageHasBeenSentFromMailHost(self, sequence=None, sequence_list=None):
self.assertEqual(1, self.portal.MailHost.getMessageList()) self.assertEqual(1, len(self.portal.MailHost.getMessageList()))
def stepCheckLatestMessageFromMailHost(self, sequence=None, sequence_list=None): def stepCheckLatestMessageFromMailHost(self, sequence=None, sequence_list=None):
last_message, = self.portal.MailHost._message_list last_message, = self.portal.MailHost._message_list
......
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