From 7692df62c6b41e26447e85022adf3ffc5a6daf94 Mon Sep 17 00:00:00 2001 From: Xavier Morel Date: Thu, 9 Jan 2014 10:19:46 +0100 Subject: [PATCH] [FIX] test depends on demo data, demo data changed, test borken. Fix test. Tests depending on demo data suck. bzr revid: xmo@openerp.com-20140109091946-s77bgymh3pmzkyh3 --- addons/email_template/tests/test_mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/email_template/tests/test_mail.py b/addons/email_template/tests/test_mail.py index a43bbe79713..19b2d6e0801 100644 --- a/addons/email_template/tests/test_mail.py +++ b/addons/email_template/tests/test_mail.py @@ -237,7 +237,7 @@ class test_message_compose(TestMail): email_template.send_mail(cr, uid, email_template_id, self.group_pigs_id, force_send=True, context=context) sent_emails = self._build_email_kwargs_list email_to_lst = [ - ['b@b.b', 'c@c.c'], ['"Followers of Pigs" '], + ['b@b.b', 'c@c.c'], ['"Followers of Pigs" '], ['"Followers of Pigs" '], ['"Followers of Pigs" ']] self.assertEqual(len(sent_emails), 4, 'email_template: send_mail: 3 valid email recipients + email_to -> should send 4 emails') for email in sent_emails: