[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
This commit is contained in:
parent
be7084b988
commit
3f6ef87416
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue