From 3f6ef8741670ef5c840a638d68358f8e5cd95438 Mon Sep 17 00:00:00 2001 From: Denis Ledoux Date: Fri, 8 Nov 2013 17:46:58 +0100 Subject: [PATCH] [FIX]mail: a test failed if there was the word 'model' in the url, which can happen when the branch name contains 'model' or the domain name itself contain 'model' bzr revid: dle@openerp.com-20131108164658-x7uznik1n5jo1djd --- addons/mail/tests/test_mail_features.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/mail/tests/test_mail_features.py b/addons/mail/tests/test_mail_features.py index 62c76db5a40..c7f1056c59a 100644 --- a/addons/mail/tests/test_mail_features.py +++ b/addons/mail/tests/test_mail_features.py @@ -294,9 +294,9 @@ class test_mail(TestMail): 'notification email: link should contain the user login') self.assertIn('message_id=%s' % mail.mail_message_id.id, url, 'notification email: link based on message should contain the mail_message id') - self.assertNotIn('model', url, + self.assertNotIn('model=mail.group', url, 'notification email: link based on message should not contain model') - self.assertNotIn('res_id', url, + self.assertNotIn('res_id=%s' % group_pigs.id, url, 'notification email: link based on message should not contain res_id') @mute_logger('openerp.addons.mail.mail_thread', 'openerp.osv.orm')