summaryrefslogtreecommitdiff
path: root/addons/mail/tests/test_mail_features.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/mail/tests/test_mail_features.py')
-rw-r--r--addons/mail/tests/test_mail_features.py4
1 files 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')