From c7550a9968471cfd0b6b5db50fb2f92f01c3dfbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Mon, 28 Nov 2011 14:46:44 +0100 Subject: [PATCH] Fix Transaction.start to use keyword argument for context --- tests/test_stock_forecast.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_stock_forecast.py b/tests/test_stock_forecast.py index 3a0f1e55b4..9217e2e951 100644 --- a/tests/test_stock_forecast.py +++ b/tests/test_stock_forecast.py @@ -64,7 +64,7 @@ class StockForecastTestCase(unittest.TestCase): ''' Test create_moves. ''' - with Transaction().start(DB_NAME, USER, CONTEXT): + with Transaction().start(DB_NAME, USER, context=CONTEXT): category_id = self.category.create({ 'name': 'Test create_moves', })