[IMP] product_contract: pre-commit stuff

This commit is contained in:
Rad0van
2023-04-29 22:43:45 +02:00
committed by Abraham Anes
parent 86dc831566
commit fe8ed89bc6

View File

@@ -28,7 +28,7 @@ class TestProductTemplate(SavepointCase):
self.service_product.is_contract = True self.service_product.is_contract = True
self.service_product.property_contract_template_id = self.contract.id self.service_product.property_contract_template_id = self.contract.id
self.service_product.is_contract = False self.service_product.is_contract = False
self.assertEquals(len(self.service_product.property_contract_template_id), 0) self.assertEqual(len(self.service_product.property_contract_template_id), 0)
def test_check_contract_product_type(self): def test_check_contract_product_type(self):
""" """