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
1.3 KiB
1.3 KiB
| 1 | id | name | model_id:id | group_id:id | perm_read | perm_write | perm_create | perm_unlink |
|---|---|---|---|---|---|---|---|---|
| 2 | access_mail_test_sms_all | mail.test.sms.all | model_mail_test_sms | 0 | 0 | 0 | 0 | |
| 3 | access_mail_test_sms_user | mail.test.sms.user | model_mail_test_sms | base.group_user | 1 | 1 | 1 | 1 |
| 4 | access_mail_test_sms_bl_all | mail.test.sms.bl.all | model_mail_test_sms_bl | 0 | 0 | 0 | 0 | |
| 5 | access_mail_test_sms_bl_user | mail.test.sms.bl.user | model_mail_test_sms_bl | base.group_user | 1 | 1 | 1 | 1 |
| 6 | access_mail_test_sms_bl_activity_all | mail.test.sms.bl.activity.all | model_mail_test_sms_bl_activity | 0 | 0 | 0 | 0 | |
| 7 | access_mail_test_sms_bl_activity_user | mail.test.sms.bl.activity.user | model_mail_test_sms_bl_activity | base.group_user | 1 | 1 | 1 | 1 |
| 8 | access_mail_test_sms_bl_optout_all | mail.test.sms.bl.optout.all | model_mail_test_sms_bl_optout | 0 | 0 | 0 | 0 | |
| 9 | access_mail_test_sms_bl_optout_user | mail.test.sms.bl.optout.user | model_mail_test_sms_bl_optout | base.group_user | 1 | 1 | 1 | 1 |
| 10 | access_mail_test_sms_partner_all | mail.test.sms.partner.all | model_mail_test_sms_partner | 0 | 0 | 0 | 0 | |
| 11 | access_mail_test_sms_partner_user | mail.test.sms.partner.user | model_mail_test_sms_partner | base.group_user | 1 | 1 | 1 | 1 |
| 12 | access_mail_test_sms_partner_2many_all | mail.test.sms.partner.2many.all | model_mail_test_sms_partner_2many | 0 | 0 | 0 | 0 | |
| 13 | access_mail_test_sms_partner_2many_user | mail.test.sms.partner.2many.user | model_mail_test_sms_partner_2many | base.group_user | 1 | 1 | 1 | 1 |