trytond-product_brand_esale/tests/test_product_brand.py

28 lines
706 B
Python
Raw Normal View History

2014-03-12 18:32:01 +01:00
#!/usr/bin/env python
# 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
class TestCase(unittest.TestCase):
2014-11-05 09:23:55 +01:00
'Test module'
2014-03-12 18:32:01 +01:00
def setUp(self):
trytond.tests.test_tryton.install_module('product_brand')
def test0005views(self):
2014-11-05 09:23:55 +01:00
'Test views'
2014-03-12 18:32:01 +01:00
test_view('product_brand')
def test0006depends(self):
2014-11-05 09:23:55 +01:00
'Test depends'
2014-03-12 18:32:01 +01:00
test_depends()
def suite():
suite = trytond.tests.test_tryton.suite()
suite.addTests(unittest.TestLoader().loadTestsFromTestCase(TestCase))
return suite