diff --git a/tests/test_company.py b/tests/test_company.py index 53d469b4d8..9505219048 100644 --- a/tests/test_company.py +++ b/tests/test_company.py @@ -10,7 +10,7 @@ if os.path.isdir(DIR): import unittest import trytond.tests.test_tryton -from trytond.tests.test_tryton import RPCProxy, CONTEXT, SOCK +from trytond.tests.test_tryton import RPCProxy, CONTEXT, SOCK, test_view class CompanyTestCase(unittest.TestCase): @@ -24,6 +24,12 @@ class CompanyTestCase(unittest.TestCase): self.employee = RPCProxy('company.employee') self.currency = RPCProxy('currency.currency') + def test0005views(self): + ''' + Test views. + ''' + self.assertRaises(Exception, test_view('company')) + def test0010company(self): ''' Create company.