summaryrefslogtreecommitdiff
path: root/addons/test_mass_mailing/tests/test_performance.py
diff options
context:
space:
mode:
authorJérémy Hennecart <jeh@odoo.com>2020-03-23 08:19:51 +0000
committerThibault Delavallée <tde@odoo.com>2020-05-29 09:48:40 +0000
commitc15f9efed009dd2168fd8296ad573e70e4bbbe52 (patch)
treee3216e1a52cb63888c0b1c1fc778f1473f33b1f1 /addons/test_mass_mailing/tests/test_performance.py
parentad828f40424192337017a899566d71992381b574 (diff)
[IMP] mass_mailing: add email marketing tour
PURPOSE Improve the Email Marketing tour and onboarding to create a "wow effect" when users test the app. SPECIFICATIONS Create a tour for mass_mailing to let user visit Odoo Email Marketing through a simple mailing creation flow. This require the following functional changes * by default, if user chooses to contact mailing lists and there is a single mailing list available, add it as default value for chosen list; * create a master mailing list data containing the admin user so that he can easily follow the tour and test the mailing application; LINKS Task ID 2194876 Community PR odoo/odoo#48259 Upgrade PR odoo/upgrade#983 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons/test_mass_mailing/tests/test_performance.py')
-rw-r--r--addons/test_mass_mailing/tests/test_performance.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/test_mass_mailing/tests/test_performance.py b/addons/test_mass_mailing/tests/test_performance.py
index d106247ad73..b6d784f1723 100644
--- a/addons/test_mass_mailing/tests/test_performance.py
+++ b/addons/test_mass_mailing/tests/test_performance.py
@@ -51,7 +51,7 @@ class TestMassMailPerformance(TestMassMailPerformanceBase):
})
# runbot needs +50 compared to local
- with self.assertQueryCount(__system__=1913, marketing=1914):
+ with self.assertQueryCount(__system__=1914, marketing=1915):
mailing.action_send_mail()
self.assertEqual(mailing.sent, 50)
@@ -91,7 +91,7 @@ class TestMassMailBlPerformance(TestMassMailPerformanceBase):
})
# runbot needs +62 compared to local
- with self.assertQueryCount(__system__=2240, marketing=2241):
+ with self.assertQueryCount(__system__=2241, marketing=2242):
mailing.action_send_mail()
self.assertEqual(mailing.sent, 50)