[IMP] mail: remove unecessary write in test
bzr revid: mat@openerp.com-20130605152316-tnd9oilxq7910061
This commit is contained in:
parent
1482ce563f
commit
d0202ffb19
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue