summaryrefslogtreecommitdiff
path: root/addons/test_mail/tests/test_update_notification.py
diff options
context:
space:
mode:
Diffstat (limited to 'addons/test_mail/tests/test_update_notification.py')
-rw-r--r--addons/test_mail/tests/test_update_notification.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/addons/test_mail/tests/test_update_notification.py b/addons/test_mail/tests/test_update_notification.py
deleted file mode 100644
index 7621e4056a1..00000000000
--- a/addons/test_mail/tests/test_update_notification.py
+++ /dev/null
@@ -1,11 +0,0 @@
-# -*- coding: utf-8 -*-
-from odoo.tests.common import TransactionCase
-
-
-class TestUpdateNotification(TransactionCase):
- def test_user_count(self):
- ping_msg = self.env['publisher_warranty.contract'].with_context(active_test=False)._get_message()
- user_count = self.env['res.users'].search_count([('active', '=', True)])
- self.assertEqual(ping_msg.get('nbr_users'), user_count, 'Update Notification: Users count is badly computed in ping message')
- share_user_count = self.env['res.users'].search_count([('active', '=', True), ('share', '=', True)])
- self.assertEqual(ping_msg.get('nbr_share_users'), share_user_count, 'Update Notification: Portal Users count is badly computed in ping message')