[FIX] email_template: udpated test according to new specs of append_content_to_html.

bzr revid: tde@openerp.com-20121114133438-8m1q0r02i4xory0e
This commit is contained in:
Thibault Delavallée 2012-11-14 14:34:38 +01:00
parent 8dce388719
commit 45eadceea6
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ class test_message_compose(test_mail_mockup.TestMailMockups):
# Mail data
_subject1 = 'Pigs'
_subject2 = 'Bird'
_body_html1 = 'Fans of Pigs, unite !\n<pre>Admin</pre>\n'
_body_html2 = 'I am angry !\n<pre>Admin</pre>\n'
_body_html1 = 'Fans of Pigs, unite !\n<p>Admin</p>\n'
_body_html2 = 'I am angry !\n<p>Admin</p>\n'
_attachments = [
{'name': 'First', 'datas_fname': 'first.txt', 'datas': base64.b64encode('My first attachment')},
{'name': 'Second', 'datas_fname': 'second.txt', 'datas': base64.b64encode('My second attachment')}