[IMP] product_contract: pre-commit stuff

This commit is contained in:
Rad0van
2023-04-29 22:43:45 +02:00
parent b5c4526c3d
commit b3f1fa3a39
3 changed files with 8 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ class TestProductTemplate(SavepointCase):
self.service_product.is_contract = True
self.service_product.property_contract_template_id = self.contract.id
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):
"""