summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Delavallée <tde@openerp.com>2012-10-19 14:32:22 +0200
committerThibault Delavallée <tde@openerp.com>2012-10-19 14:32:22 +0200
commitce4e0f1a3700c76b0a7ee80b653b90e8e8ba8de7 (patch)
tree4697d329e5927854375685cafb54b27fe3c730b7
parentd42a7c91c2f0159376440808d5055691a9cd7863 (diff)
[TMP] mail: added a small thin in test to re-runbot the runbot.
bzr revid: tde@openerp.com-20121019123222-611b6uv4foyudmvu
-rw-r--r--addons/mail/tests/test_mail.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/tests/test_mail.py b/addons/mail/tests/test_mail.py
index 522f219bb3f..2eff59fe0ed 100644
--- a/addons/mail/tests/test_mail.py
+++ b/addons/mail/tests/test_mail.py
@@ -584,7 +584,7 @@ class test_mail(TestMailMockups):
# TDE note: temp various asserts because of the random bug about msg1.child_ids
msg_ids = self.mail_message.search(cr, uid, [('model', '=', 'mail.group'), ('res_id', '=', self.group_pigs_id)], limit=1)
new_msg = self.mail_message.browse(cr, uid, msg_ids[0])
- self.assertEqual(new_msg.parent_id, msg1, 'Newly processed mail_message should have msg1 as parent')
+ self.assertEqual(new_msg.parent_id, msg1, 'Newly processed mail_message (%d) should have msg1 as parent' % (new_msg.id))
# 2. References header
reply_msg2 = MAIL_TEMPLATE.format(to='Pretty Pigs <group+pigs@example.com>, other@gmail.com', subject='Re: Re: 1',