diff --git a/tests/test_account_invoice.py b/tests/test_account_invoice.py index 0aee346fe3..2eca349ff7 100644 --- a/tests/test_account_invoice.py +++ b/tests/test_account_invoice.py @@ -25,7 +25,7 @@ class AccountInvoiceTestCase(unittest.TestCase): ''' Test views. ''' - self.assertRaises(Exception, test_view('account_invoice')) + test_view('account_invoice') def suite(): suite = trytond.tests.test_tryton.suite()