From d0202ffb1900941ca74983fad09ac276583fa012 Mon Sep 17 00:00:00 2001 From: Martin Trigaux Date: Wed, 5 Jun 2013 17:23:16 +0200 Subject: [PATCH] [IMP] mail: remove unecessary write in test bzr revid: mat@openerp.com-20130605152316-tnd9oilxq7910061 --- addons/mail/tests/test_mail_gateway.py | 1 - 1 file changed, 1 deletion(-) diff --git a/addons/mail/tests/test_mail_gateway.py b/addons/mail/tests/test_mail_gateway.py index 445244ff75a..27c79c801e2 100644 --- a/addons/mail/tests/test_mail_gateway.py +++ b/addons/mail/tests/test_mail_gateway.py @@ -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)