diff --git a/tests/test_stock_inventory_location.py b/tests/test_stock_inventory_location.py index 22dd2ad3b0..2856e26301 100644 --- a/tests/test_stock_inventory_location.py +++ b/tests/test_stock_inventory_location.py @@ -2,7 +2,8 @@ #This file is part of Tryton. The COPYRIGHT file at the top level of #this repository contains the full copyright notices and license terms. -import sys, os +import sys +import os DIR = os.path.abspath(os.path.normpath(os.path.join(__file__, '..', '..', '..', '..', '..', 'trytond'))) if os.path.isdir(DIR): @@ -33,6 +34,7 @@ class StockInventoryLocationTestCase(unittest.TestCase): ''' test_depends() + def suite(): suite = trytond.tests.test_tryton.suite() suite.addTests(unittest.TestLoader().loadTestsFromTestCase(