summaryrefslogtreecommitdiff
path: root/addons/test_mail/tests/test_update_notification.py
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2020-01-22 13:32:53 +0000
committerSébastien Theys <seb@odoo.com>2020-01-22 13:36:22 +0000
commit976e560a877bcaf9e769b6005d33bd49833eceb9 (patch)
tree3d6fecacaf3c7292b0c624c1f1db9daea31625b7 /addons/test_mail/tests/test_update_notification.py
parent370f53d8dcc88b4c6960fc321199df688d1d0810 (diff)
[IMP] test_mail(_full): run tests at post_install
- take advantage of runbot multi-build capabilities - get similar result when running them locally during dev - better detect when other modules add extra queries Query counts are split in the base value (testing with just test_mail installed) + the extra modules overhead. Part of task-2178641 closes odoo/odoo#43666 Pr: #43666 Signed-off-by: Alexandre Kühn (aku) <aku@odoo.com>
Diffstat (limited to 'addons/test_mail/tests/test_update_notification.py')
-rw-r--r--addons/test_mail/tests/test_update_notification.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/test_mail/tests/test_update_notification.py b/addons/test_mail/tests/test_update_notification.py
index 7621e4056a1..22c140cefe2 100644
--- a/addons/test_mail/tests/test_update_notification.py
+++ b/addons/test_mail/tests/test_update_notification.py
@@ -1,7 +1,10 @@
# -*- coding: utf-8 -*-
+
+from odoo.tests import tagged
from odoo.tests.common import TransactionCase
+@tagged('post_install', '-at_install')
class TestUpdateNotification(TransactionCase):
def test_user_count(self):
ping_msg = self.env['publisher_warranty.contract'].with_context(active_test=False)._get_message()