diff --git a/tests/test_stock_forecast.py b/tests/test_stock_forecast.py index 6e39563c5c..5c46d25dc4 100644 --- a/tests/test_stock_forecast.py +++ b/tests/test_stock_forecast.py @@ -25,7 +25,7 @@ class StockForecastTestCase(unittest.TestCase): ''' Test views. ''' - self.assertRaises(Exception, test_view('stock_forecast')) + test_view('stock_forecast') def suite(): suite = trytond.tests.test_tryton.suite()