diff options
| author | Thibault Delavallée <tde@odoo.com> | 2019-10-11 15:21:21 +0000 |
|---|---|---|
| committer | Thibault Delavallée <tde@odoo.com> | 2019-11-20 16:00:38 +0000 |
| commit | 46a6aed1c9bfce0527569b5ab5a049887fc476c8 (patch) | |
| tree | 314de19e5a4f89edf9eb2f86dbda03ee25a0e167 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | 9b710e4ab6de7f3db60b97862354c91427792598 (diff) | |
[REF] test_mail: update test discuss / invite / ir actions / odoobot to new common
PURPOSE
Currently tools and asserts for mail tests are located inside test_mail
module. It makes difficult to re-use them in apps tests or force them to
write custom quick and dirty tools and asserts.
SPECIFICATIONS
Update tests to new tools / asserts / helpers / classes defined in mail
and test_mail. Notably
* ``BaseFunctionalTest`` class is replaced by the new ``TestMailCommon``
pimped one;
* ``assertNotifications`` is replaced by ``assertSinglePostNotifications``
(shortcut for a simple message_post) or ``assertPostNotifications``
(complete asserts involving several messages and notifications);
* correctly invoke ``mock_mail_gateway`` when mocking email sending;
* replace manual check of sent emails or ``assertEmails`` by
``assertSentEmails``;
* remove custom mocks / checks and replace them by now standard mocks
and assertions (if any);
In this commit we update: test_discuss, test_invite, test_ir_actions and
test_odoobot.
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
