Commit 0bed549b authored by Jérome Perrin's avatar Jérome Perrin

testNotificationTool: py3

parent 2e344ce2
......@@ -474,7 +474,7 @@ Yes, I will go."""
self.assertEqual('Portal Administrator <site@example.invalid>', mfrom)
self.assertEqual(['userA@example.invalid'], mto)
# Check Message
mail_dict = decode_email(messageText)
mail_dict = decode_email(messageText.decode())
self.assertEqual(mail_dict['headers']['subject'], 'Subject')
self.assertEqual(mail_dict['body'], '<html><body>%s</body></html>' % message)
self.assertSameSet([], mail_dict['attachment_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