Skip to content

Commit

Permalink
[IMP] crm_project: test performance improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
josep-tecnativa committed Oct 17, 2023
1 parent a82407b commit bc321fc
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions crm_project/tests/test_crm_project.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ class TestCrmProject(common.TransactionCase):
@classmethod
def setUpClass(cls):
super().setUpClass()
cls.env = cls.env(
context=dict(
cls.env.context,
mail_create_nolog=True,
mail_create_nosubscribe=True,
mail_notrack=True,
no_reset_password=True,
tracking_disable=True,
)
)
cls.lead = cls.env["crm.lead"].create(
{
"name": "Test lead",
Expand Down

0 comments on commit bc321fc

Please sign in to comment.