Browse Source

Merge pull request #291 from trojikman/12.0-mail_sent-test

commit is created by 👷‍♂️ Merge Bot: https://odoo-devops.readthedocs.io/en/latest/git/github-merge-bot.html
pull/292/head
Mitchell Admin 5 years ago
committed by GitHub
parent
commit
5bc3831675
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      mail_sent/tests/__init__.py
  2. 12
      mail_sent/tests/test_mail_compose.py

2
mail_sent/tests/__init__.py

@ -1 +1 @@
from . import test_js
from . import test_js, test_mail_compose

12
mail_sent/tests/test_mail_compose.py

@ -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({})
Loading…
Cancel
Save