diff options
| author | Sébastien Theys <seb@odoo.com> | 2020-01-22 13:32:53 +0000 |
|---|---|---|
| committer | Sébastien Theys <seb@odoo.com> | 2020-01-22 13:36:22 +0000 |
| commit | 976e560a877bcaf9e769b6005d33bd49833eceb9 (patch) | |
| tree | 3d6fecacaf3c7292b0c624c1f1db9daea31625b7 /addons/test_mail/tests/test_mail_template.py | |
| parent | 370f53d8dcc88b4c6960fc321199df688d1d0810 (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_mail_template.py')
| -rw-r--r-- | addons/test_mail/tests/test_mail_template.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/test_mail/tests/test_mail_template.py b/addons/test_mail/tests/test_mail_template.py index a845ffc0a79..de323fed812 100644 --- a/addons/test_mail/tests/test_mail_template.py +++ b/addons/test_mail/tests/test_mail_template.py @@ -4,9 +4,11 @@ import base64 from odoo.addons.test_mail.tests.common import TestMailCommon, TestRecipients +from odoo.tests import tagged from odoo.tools import mute_logger +@tagged('post_install', '-at_install') class TestMailTemplate(TestMailCommon, TestRecipients): @classmethod |
