Skip to content

Commit

Permalink
[UPD] Increase test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrià Pallejà committed Mar 4, 2024
1 parent 8266537 commit bc3b980
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crm_lead_product/tests/test_crm_lead_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ def test_01_lead_lines(self):

lead_line_5._onchange_product_id()
lead_line_5._onchange_product_tmpl_id()
lead_line_5._onchange_category_id()
lead_line_5._onchange_uom_id()

self.assertNotEqual(
Expand All @@ -150,7 +151,8 @@ def test_01_lead_lines(self):
lead_line_6 = self.lead_line_obj.create(
{
"lead_id": self.lead.id,
"name": self.product_3.name,
"name": "",
"category_id": self.product_3.categ_id.id,
"product_id": self.product_2.id,
"product_tmpl_id": self.product_3.product_tmpl_id.id,
}
Expand Down

0 comments on commit bc3b980

Please sign in to comment.