[FIX] mail: adapt `assertRaises` test after corresponding code change in last forward-port

bzr revid: odo@openerp.com-20140217095143-ibhqyzflle2hbimy
This commit is contained in:
Olivier Dony 2014-02-17 10:51:43 +01:00
parent 632182589c
commit 0227d6a056
1 changed files with 1 additions and 1 deletions

View File

@ -394,7 +394,7 @@ class TestMailgateway(TestMail):
'message_process: after reply, group should have 2 followers')
# Do: incoming email with ref holding model / res_id but that does not match any message in the thread: must raise since OpenERP saas-3
self.assertRaises(AssertionError,
self.assertRaises(ValueError,
format_and_process,
MAIL_TEMPLATE, email_from='other5@gmail.com',
to='noone@example.com', subject='spam',