diff --git a/tests/test_stock_product_location.py b/tests/test_stock_product_location.py index 23b86675dd..c49e3d1acf 100644 --- a/tests/test_stock_product_location.py +++ b/tests/test_stock_product_location.py @@ -25,7 +25,7 @@ class StockProductLocationTestCase(unittest.TestCase): ''' Test views. ''' - self.assertRaises(Exception, test_view('stock_product_location')) + test_view('stock_product_location') def suite(): suite = trytond.tests.test_tryton.suite()