[FIX] mail: tests: fixed mock of gateway.
bzr revid: tde@openerp.com-20121221111755-63q6w4pkvkx0lvcf
This commit is contained in:
parent
f49f43958d
commit
e6a63fea3a
|
@ -25,7 +25,7 @@ from openerp.tests import common
|
|||
class TestMailBase(common.TransactionCase):
|
||||
|
||||
def _mock_smtp_gateway(self, *args, **kwargs):
|
||||
return True
|
||||
return args[2]['Message-Id']
|
||||
|
||||
def _init_mock_build_email(self):
|
||||
self._build_email_args_list = []
|
||||
|
|
Loading…
Reference in New Issue