diff options
| author | Fabien Meghazi <fme@openerp.com> | 2014-03-19 18:32:04 +0100 |
|---|---|---|
| committer | Fabien Meghazi <fme@openerp.com> | 2014-03-19 18:32:04 +0100 |
| commit | 13504b180e7a0373ee95ce7b08ac17611392986f (patch) | |
| tree | a9379d663bfb1c74a3bc9bb5accb5fc2c3937a9e /addons | |
| parent | aeb52af1fd39e82c49a185b711c5c57e50fbcd78 (diff) | |
[FIX] Broken portal test
bzr revid: fme@openerp.com-20140319173204-8a93hww2clvw3ljy
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/portal/tests/test_portal.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/portal/tests/test_portal.py b/addons/portal/tests/test_portal.py index 66cb0958774..2c4d7ecf966 100644 --- a/addons/portal/tests/test_portal.py +++ b/addons/portal/tests/test_portal.py @@ -134,7 +134,8 @@ class test_portal(TestMail): 'invite: subject of invitation email is incorrect') self.assertIn('Administrator invited you to follow Discussion group document: Pigs', sent_email.get('body'), 'invite: body of invitation email is incorrect') - self.assertTrue(partner_carine.signup_url in sent_email.get('body'), + invite_url = partner_carine._get_signup_url_for_action(model='mail.group', res_id=self.group_pigs_id)[partner_carine.id] + self.assertTrue(invite_url in sent_email.get('body'), 'invite: body of invitation email does not contain signup url') def test_20_notification_url(self): |
