diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-09-10 10:16:08 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-11-20 16:00:36 +0000 |
| commit | 9b710e4ab6de7f3db60b97862354c91427792598 (patch) | |
| tree | bd59c3b8f037243d439d53de8a563cbe709056a1 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | c3be4c3bc6f7ca320da06bf71bfdfb3aebc3cbd5 (diff) | |
[IMP] test_mail: add a new main TestMailCommon test class
PURPOSE
Currently tools and asserts for mail tests are located inside test_mail
module. It makes difficult to re-use them in application tests or force them
to write custom quick and dirty tools and asserts. Purpose of this merge
is therefore to move tools classes and mocks to mail directly and use them
in various sub modules.
SPECIFICATIONS
In this commit we add ``TestMailCommon`` that will be the class for all test_*
modules linked to mail features. It is build upon tools made available in
mail tests (mocks, tools, asserts) and give the functional basis for mail
tests.
This commit also introduces ``TestMailMultiCompanyCommon`` that is a small
multi company testing class build on ``TestMailCommon``.
``TestRecipients`` class is kept as it creates some testing partners, used
notably for notifications and recipients.
Future commits will gradually make tests use this class instead of the
``BaseFunctionalTest`` that will be set to retirement.
LINKS
Task ID 2068986
PR #38070
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
