summaryrefslogtreecommitdiff
path: root/addons/test_mass_mailing/tests/test_performance.py
diff options
context:
space:
mode:
authorThibault Delavallée <tde@odoo.com>2019-09-10 14:27:39 +0000
committerThibault Delavallée <tde@odoo.com>2019-11-20 16:01:03 +0000
commit363bdc16c7f03ba0f323bc9afbf1878de44fa008 (patch)
treeba3193002ad6ee6ad771aea0051f747644905084 /addons/test_mass_mailing/tests/test_performance.py
parent2ef5fc80ab48fac24168cddf9a6d326a01eca8fd (diff)
[REF] test_mail: update test message post to new common
PURPOSE Currently tools and asserts for mail tests are located inside test_mail module. It makes difficult to re-use them in apps tests or force them to write custom quick and dirty tools and asserts. SPECIFICATIONS Update tests to new tools / asserts / helpers / classes defined in mail and test_mail. Notably * ``BaseFunctionalTest`` class is replaced by the new ``TestMailCommon`` pimped one; * ``assertNotifications`` is replaced by ``assertSinglePostNotifications`` (shortcut for a simple message_post) or ``assertPostNotifications`` (complete asserts involving several messages and notifications); * correctly invoke ``mock_mail_gateway`` when mocking email sending; * replace manual check of sent emails or ``assertEmails`` by ``assertSentEmails``; * remove custom mocks / checks and replace them by now standard mocks and assertions (if any); In this commit we update: test message post LINKS Task ID 2068986 PR #38070
Diffstat (limited to 'addons/test_mass_mailing/tests/test_performance.py')
0 files changed, 0 insertions, 0 deletions