diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-01-17 14:17:56 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-01-17 14:17:56 +0100 |
| commit | ecd03bec8aa8a84541e048667b92eb48786ed1f4 (patch) | |
| tree | 00bd4168cf30ad63ce8c6c32b8c0d270438bf278 /addons/mail/tests | |
| parent | 4d619c221f4b2c7e5b8f22b65d2025b70bff6046 (diff) | |
| parent | 8f1c2bfc9183d73549d3cf3a771edf2232eeeb12 (diff) | |
[MERGE] forward port branch 8.0 up to 8f1c2bfc918
Diffstat (limited to 'addons/mail/tests')
| -rw-r--r-- | addons/mail/tests/test_mail_message.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/addons/mail/tests/test_mail_message.py b/addons/mail/tests/test_mail_message.py index aceb90efa8b..5147d1e102c 100644 --- a/addons/mail/tests/test_mail_message.py +++ b/addons/mail/tests/test_mail_message.py @@ -444,3 +444,8 @@ class TestMailMessage(TestMail): {'subject': 'Subject', 'body': 'Body text'}, {'default_composition_mode': 'comment', 'default_parent_id': pigs_msg_id}) mail_compose.send_mail(cr, user_raoul_id, [compose_id]) + + def test_60_cache_invalidation(self): + msg_cnt = len(self.group_pigs.message_ids) + self.group_pigs.message_post(body='Hi!', subject='test') + self.assertEqual(len(self.group_pigs.message_ids), msg_cnt + 1) |
