diff --git a/tests/test_account_product.py b/tests/test_account_product.py index 0cd8cb4306..74229facc0 100644 --- a/tests/test_account_product.py +++ b/tests/test_account_product.py @@ -25,7 +25,7 @@ class AccountProductTestCase(unittest.TestCase): ''' Test views. ''' - self.assertRaises(Exception, test_view('account_product')) + test_view('account_product') def suite(): suite = trytond.tests.test_tryton.suite()