Skip to content

Commit

Permalink
[IMP] maintenance_product: Improved test_maintenance_product for bett…
Browse files Browse the repository at this point in the history
…er test coverage percentage
  • Loading branch information
kaynnan committed Jun 21, 2023
1 parent b8ac35a commit 365d1d1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions maintenance_product/tests/test_maintenance_product.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ def test_maintenance_equipment_category(self):
def test_maintenance_equipment(self):
equipment_form = Form(self.equipment)
equipment_form.product_id = self.product
self.assertIsNotNone(equipment_form.product_id)
self.assertEqual(equipment_form.name, "test-product")
self.assertEqual(equipment_form.cost, 10)
self.assertIsNotNone(equipment_form.product_id.seller_ids)
self.assertEqual(equipment_form.partner_id, self.partner)
self.assertIsNotNone(equipment_form.product_category_id)

0 comments on commit 365d1d1

Please sign in to comment.