diff --git a/tests/test_account_invoice_line_standalone.py b/tests/test_account_invoice_line_standalone.py index 8b048517ff..855d754d00 100644 --- a/tests/test_account_invoice_line_standalone.py +++ b/tests/test_account_invoice_line_standalone.py @@ -26,8 +26,7 @@ class AccountInvoiceLineStandaloneTestCase(unittest.TestCase): ''' Test views. ''' - self.assertRaises(Exception, test_view( - 'account_invoice_line_standalone')) + test_view('account_invoice_line_standalone') def suite(): suite = trytond.tests.test_tryton.suite()