Tests
This commit is contained in:
parent
92ecc4b38b
commit
0ce66c8003
|
@ -1,28 +1,18 @@
|
|||
#!/usr/bin/env python
|
||||
# The COPYRIGHT file at the top level of this repository contains
|
||||
# the full copyright notices and license terms.
|
||||
# This file is part of the product_variant_name module for Tryton.
|
||||
# The COPYRIGHT file at the top level of this repository contains the full
|
||||
# copyright notices and license terms.
|
||||
import unittest
|
||||
import trytond.tests.test_tryton
|
||||
from trytond.tests.test_tryton import test_view, test_depends
|
||||
from trytond.tests.test_tryton import ModuleTestCase
|
||||
|
||||
|
||||
class ProductVariantNameTestCase(unittest.TestCase):
|
||||
class ProductVariantNameTestCase(ModuleTestCase):
|
||||
'Test Product Variant Name module'
|
||||
|
||||
def setUp(self):
|
||||
trytond.tests.test_tryton.install_module('product_variant_name')
|
||||
|
||||
def test0005views(self):
|
||||
'Test views'
|
||||
test_view('product_variant_name')
|
||||
|
||||
def test0006depends(self):
|
||||
'Test depends'
|
||||
test_depends()
|
||||
module = 'product_variant_name'
|
||||
|
||||
|
||||
def suite():
|
||||
suite = trytond.tests.test_tryton.suite()
|
||||
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(
|
||||
ProductVariantNameTestCase))
|
||||
return suite
|
||||
return suite
|
Loading…
Reference in New Issue