Odoo's Mergebot 7210ff4e19 [MERGE] test_mail: reorganize tests, lessen data creation
PURPOSE

In order to rewrite some tests, remove low-level tests and add coverage
first step is to reorganize a bit test_mail content. Several tests cases
are spread among several files and finding back some feature coverage
tests is not easy.

SPECIFICATIONS

Quickly clean common class and lessen data creation by default. Offer some
tool methods, notably to create portal users used in some tests but not
all, or to create mail templates.

Reorganize tests, notably

  * put message_post related test in test_message_post;
  * have only composer related test in test_message_compose(r);
  * put alias tests in test_mail_gateway;
  * put moderation tests in test_channel, except those related to mail
    message model that should be in test_mail_message;
  * put mail.thread.cc specific behavior tests in mail_gateway for gateway
    related tests and test_discuss for recipient suggestion tests;
  * put composer with template tests in with composer tests, put post with
    template tests with post tests, put tracking multi company test with tracking
    tests;
  * rename mail-resend to message_management and multi_company to
    mail_redirect;

This merge does not change anything functionally. Tests are globally the same.
having better organized files will allow to rewrite and improve them.

LINKS

Task 1958697

closes odoo/odoo#36508

Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
2019-09-06 16:31:57 +02:00
…
…
…
…
…
…
…

Build Status Tech Doc Help Nightly Builds

Odoo

Odoo is a suite of web based open source business apps.

The main Odoo Apps include an Open Source CRM, Website Builder, eCommerce, Warehouse Management, Project Management, Billing & Accounting, Point of Sale, Human Resources, Marketing, Manufacturing, Purchase Management, ...

Odoo Apps can be used as stand-alone applications, but they also integrate seamlessly so you get a full-featured Open Source ERP when you install several Apps.

Getting started with Odoo

For a standard installation please follow the Setup instructions from the documentation.

Then follow the developer tutorials

S
Description
No description provided
Readme LGPL-3.0
3.4 GiB
Languages
Python 49.6%
JavaScript 47.8%
SCSS 2%
CSS 0.3%
HTML 0.2%