[IMP] mail: remove unecessary write in test

bzr revid: mat@openerp.com-20130605152316-tnd9oilxq7910061
This commit is contained in:
Martin Trigaux 2013-06-05 17:23:16 +02:00
parent 1482ce563f
commit d0202ffb19
1 changed files with 0 additions and 1 deletions

View File

@ -147,7 +147,6 @@ class TestMailgateway(TestMailBase):
self.assertEqual(mail.reply_to, 'other@example.com',
'mail_mail: reply_to should be equal to the one coming from creation values')
# Do: create a mail_mail with the previous mail_message
self.mail_message.write(cr, uid, [msg_id], {'reply_to': 'other@example.com'})
msg.refresh()
mail_id = self.mail_mail.create(cr, uid, {'mail_message_id': msg_id, 'state': 'cancel'})
mail = self.mail_mail.browse(cr, uid, mail_id)