mirror of
https://github.com/NaN-tic/trytond-product_price_list_manufacturer.git
synced 2023-12-14 02:22:54 +01:00
Tests
This commit is contained in:
parent
1fb8dc2914
commit
1e770e90a5
|
@ -1,30 +1,18 @@
|
||||||
#!/usr/bin/env python
|
|
||||||
# This file is part of the product_price_list_manufacturer module for Tryton.
|
# 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
|
# The COPYRIGHT file at the top level of this repository contains the full
|
||||||
# copyright notices and license terms.
|
# copyright notices and license terms.
|
||||||
from trytond.tests.test_tryton import test_view, test_depends
|
|
||||||
import trytond.tests.test_tryton
|
|
||||||
import unittest
|
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'
|
'Test Product Price List Manufacturer module'
|
||||||
|
module = 'product_price_list_manufacturer'
|
||||||
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()
|
|
||||||
|
|
||||||
|
|
||||||
def suite():
|
def suite():
|
||||||
suite = trytond.tests.test_tryton.suite()
|
suite = trytond.tests.test_tryton.suite()
|
||||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
|
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
|
||||||
ProductPriceListManufacturerTestCase))
|
ProductPriceListManufacturerTestCase))
|
||||||
return suite
|
return suite
|
Loading…
Reference in a new issue