Files
odoo_source/addons/test_mail_full/__manifest__.py
T
Thibault Delavallée 039c63cf6e [REF][MOV] test(_mass)_mail(_sms): move sms tests in their own addon
In this commit we introduce a new module ``test_mail_sms`` that holds the
tests for sms application, like ``test_mail`` does for mail. Currently all
sms tests are inside ``test_mail_full``. After this commit code is moved
from ``test_mail_full`` into that module. Full testing module should be used
mainly to test integrations with a lot of submodules and for performance
tests, not testing details of SMS implementation.

We also add ``mass_mailing_sms`` as dependency of ``test_mass_mailing`` so
that both mailing types are tested in the same module. It eases maintenance
and writing of tests. Mass mailing SMS tests  from `test_mail_full`` are
therefore moved in ``test_mass_mailing``.

This commit also allows some cleaning in classes used in tests, to have
classes in ``test_mail_sms`` and ``test_mail_full`` that contain everything
necessary to test mail features.

Task-2890111 (Test Mail/Mass Mailing: SMS tests reorganization and move)

Part-of: odoo/odoo#96223
2022-07-19 11:51:12 +02:00

43 lines
1.2 KiB
Python

# -*- coding: utf-8 -*-
{
'name': 'Mail Tests (Full)',
'version': '1.0',
'category': 'Hidden',
'sequence': 9876,
'summary': 'Mail Tests: performances and tests specific to mail with all sub-modules',
'description': """This module contains tests related to various mail features
and mail-related sub modules. Those tests are present in a separate module as it
contains models used only to perform tests independently to functional aspects of
real applications. """,
'depends': [
'mail',
'mail_bot',
'portal',
'rating',
# 'snailmail',
'mass_mailing',
'mass_mailing_sms', # adds portal
'phone_validation',
'sms',
'test_mail',
'test_mail_sms',
'test_mass_mailing',
],
'data': [
'data/mail_message_subtype_data.xml',
'security/ir.model.access.csv',
'security/ir_rule_data.xml',
],
'assets': {
'web.qunit_suite_tests': [
'test_mail_full/static/tests/qunit_suite_tests/*.js',
],
'web.tests_assets': [
'test_mail_full/static/tests/helpers/*.js',
],
},
'installable': True,
'license': 'LGPL-3',
}