[FIX] mail: test: fixed a warning due to a bad-named field.

bzr revid: tde@openerp.com-20121018094734-tqfrmg0jb2t2a1k2
This commit is contained in:
Thibault Delavallée
2012-10-18 11:47:34 +02:00
parent 1737a3161b
commit 7ad3a42491
+1 -1
View File
@@ -496,7 +496,7 @@ class test_mail(TestMailMockups):
# 1. mass_mail on pigs and bird
compose_id = mail_compose.create(cr, uid,
{'subject': _subject, 'body': '${object.description}', 'content_type': 'html'},
{'subject': _subject, 'body': '${object.description}', 'content_subtype': 'html'},
{'default_composition_mode': 'mass_mail', 'default_model': 'mail.group', 'default_res_id': False,
'active_ids': [self.group_pigs_id, group_bird_id]})
compose = mail_compose.browse(cr, uid, compose_id)