Denis Mudarisov
5 years ago
No known key found for this signature in database
GPG Key ID: B9AD74DAFB7B53DA
2 changed files with
13 additions and
1 deletions
-
mail_sent/tests/__init__.py
-
mail_sent/tests/test_mail_compose.py
|
@ -1 +1 @@ |
|
|
from . import test_js |
|
|
|
|
|
|
|
|
from . import test_js, test_mail_compose |
|
@ -0,0 +1,12 @@ |
|
|
|
|
|
# Copyright 2020 Denis Mudarisov <https://github.com/trojikman> |
|
|
|
|
|
# License MIT (https://opensource.org/licenses/MIT). |
|
|
|
|
|
|
|
|
|
|
|
from odoo.tests.common import HttpCase, tagged |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@tagged("post_install", "at_install") |
|
|
|
|
|
class TestSaas(HttpCase): |
|
|
|
|
|
def test_mail_compose(self): |
|
|
|
|
|
# this is enough to reproduce the error |
|
|
|
|
|
# from https://github.com/itpp-labs/mail-addons/issues/290 |
|
|
|
|
|
self.env["mail.compose.message"].create({}) |