[TESTS] mail: mute logger back in mail tests

bzr revid: tde@openerp.com-20131209160923-3yisgzqmns6pviud
This commit is contained in:
Thibault Delavallée 2013-12-09 17:09:23 +01:00
parent 4b96e85a30
commit 89bc58bae6
1 changed files with 2 additions and 2 deletions

View File

@ -163,7 +163,7 @@ class TestMailgateway(TestMail):
self.assertIn('<div dir="ltr">Should create a multipart/mixed: from gmail, <b>bold</b>, with attachment.<br clear="all"><div><br></div>', res.get('body', ''),
'message_parse: html version should be in body after parsing multipart/mixed')
# @mute_logger('openerp.addons.mail.mail_thread', 'openerp.osv.orm')
@mute_logger('openerp.addons.mail.mail_thread', 'openerp.osv.orm')
def test_10_message_process(self):
""" Testing incoming emails processing. """
cr, uid, user_raoul = self.cr, self.uid, self.user_raoul
@ -523,7 +523,7 @@ class TestMailgateway(TestMail):
self.assertIn('<pre>\nPlease call me as soon as possible this afternoon!\n\n--\nSylvie\n</pre>', msg.body,
'message_process: plaintext incoming email incorrectly parsed')
# @mute_logger('openerp.addons.mail.mail_thread', 'openerp.osv.orm')
@mute_logger('openerp.addons.mail.mail_thread', 'openerp.osv.orm')
def test_20_thread_parent_resolution(self):
""" Testing parent/child relationships are correctly established when processing incoming mails """
cr, uid = self.cr, self.uid