diff options
| author | Thibault Delavallée <tde@openerp.com> | 2013-10-28 17:33:21 +0100 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2013-10-28 17:33:21 +0100 |
| commit | 5bb4fa2b4347a99b5c1a5722d5591c06f7032d4c (patch) | |
| tree | ba5127daf27cc553ebc8683a39b68ebec379f4e9 /addons/portal/tests | |
| parent | 0db0f20bda410bd6601c266026363fc95b21c9c4 (diff) | |
| parent | a7ff75f94a168e26b9e9a208167b07d45dc751cb (diff) | |
[MERGE] Sync with trunk
bzr revid: tde@openerp.com-20131028163321-5o81wa1m7rzdp1dz
Diffstat (limited to 'addons/portal/tests')
| -rw-r--r-- | addons/portal/tests/test_portal.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/portal/tests/test_portal.py b/addons/portal/tests/test_portal.py index 364c1a1ccef..938d3a6ef1f 100644 --- a/addons/portal/tests/test_portal.py +++ b/addons/portal/tests/test_portal.py @@ -210,11 +210,11 @@ class test_portal(TestMail): msg2_id = self.mail_group.message_post(cr, uid, group_port_id, body='Body2', type='comment', subtype='mail.mt_group_public') msg3_id = self.mail_group.message_post(cr, uid, group_port_id, body='Body3', type='comment', subtype='mail.mt_comment') msg4_id = self.mail_group.message_post(cr, uid, group_port_id, body='Body4', type='comment') - msg5_id = self.mail_group.message_post(cr, uid, group_port_id, body='Body5', type='notification') + # msg5_id = self.mail_group.message_post(cr, uid, group_port_id, body='Body5', type='notification') # Do: Chell search messages: should not see internal notes (comment without subtype) msg_ids = self.mail_message.search(cr, self.user_chell_id, [('model', '=', 'mail.group'), ('res_id', '=', group_port_id)]) - self.assertEqual(set(msg_ids), set([msg1_id, msg2_id, msg3_id, msg5_id]), + self.assertEqual(set(msg_ids), set([msg1_id, msg2_id, msg3_id]), 'mail_message: portal user has access to messages he should not read') # Do: Chell read messages she can read |
