diff --git a/tests/test_product_price_list_manufacturer.py b/tests/test_product_price_list_manufacturer.py index 322c4bd..c149da0 100644 --- a/tests/test_product_price_list_manufacturer.py +++ b/tests/test_product_price_list_manufacturer.py @@ -1,30 +1,18 @@ -#!/usr/bin/env python # This file is part of the product_price_list_manufacturer module for Tryton. # The COPYRIGHT file at the top level of this repository contains the full # copyright notices and license terms. -from trytond.tests.test_tryton import test_view, test_depends -import trytond.tests.test_tryton import unittest +import trytond.tests.test_tryton +from trytond.tests.test_tryton import ModuleTestCase -class ProductPriceListManufacturerTestCase(unittest.TestCase): +class ProductPriceListManufacturerTestCase(ModuleTestCase): 'Test Product Price List Manufacturer module' - - def setUp(self): - trytond.tests.test_tryton.install_module( - 'product_price_list_manufacturer') - - def test0005views(self): - 'Test views' - test_view('product_price_list_manufacturer') - - def test0006depends(self): - 'Test depends' - test_depends() + module = 'product_price_list_manufacturer' def suite(): suite = trytond.tests.test_tryton.suite() suite.addTests(unittest.TestLoader().loadTestsFromTestCase( ProductPriceListManufacturerTestCase)) - return suite + return suite \ No newline at end of file