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_message.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_message.py')
| -rw-r--r-- | addons/test_mail/tests/test_mail_message.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/test_mail/tests/test_mail_message.py b/addons/test_mail/tests/test_mail_message.py index 2ff5c6f7d5f..5ce9ffa0469 100644 --- a/addons/test_mail/tests/test_mail_message.py +++ b/addons/test_mail/tests/test_mail_message.py @@ -6,10 +6,11 @@ import base64 from odoo.addons.mail.tests.common import mail_new_test_user from odoo.addons.test_mail.tests.common import TestMailCommon from odoo.exceptions import AccessError, except_orm -from odoo.tools import mute_logger, formataddr from odoo.tests import tagged +from odoo.tools import mute_logger, formataddr +@tagged('post_install', '-at_install') class TestMessageValues(TestMailCommon): @classmethod |
