From 0227d6a05610e8aeb091dd9e6112a95fff347207 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Mon, 17 Feb 2014 10:51:43 +0100 Subject: [PATCH] [FIX] mail: adapt `assertRaises` test after corresponding code change in last forward-port bzr revid: odo@openerp.com-20140217095143-ibhqyzflle2hbimy --- addons/mail/tests/test_mail_gateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mail/tests/test_mail_gateway.py b/addons/mail/tests/test_mail_gateway.py index 7941c1e5e9f..cb735ec098e 100644 --- a/addons/mail/tests/test_mail_gateway.py +++ b/addons/mail/tests/test_mail_gateway.py @@ -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',