Skip to content

Commit cb47543

Browse files
committed
[IMP] product_contract: pre-commit stuff
1 parent 9df3ea4 commit cb47543

3 files changed

Lines changed: 8 additions & 1 deletion

File tree

product_contract/tests/test_product.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def test_change_is_contract(self):
2828
self.service_product.is_contract = True
2929
self.service_product.property_contract_template_id = self.contract.id
3030
self.service_product.is_contract = False
31-
self.assertEquals(len(self.service_product.property_contract_template_id), 0)
31+
self.assertEqual(len(self.service_product.property_contract_template_id), 0)
3232

3333
def test_check_contract_product_type(self):
3434
"""
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../product_contract

setup/product_contract/setup.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import setuptools
2+
3+
setuptools.setup(
4+
setup_requires=['setuptools-odoo'],
5+
odoo_addon=True,
6+
)

0 commit comments

Comments
 (0)