Fix Transaction.start to use keyword argument for context

This commit is contained in:
Cédric Krier committed 2011-11-28 14:46:44 +01:00
1 parent 8355c04579
commit c7550a9968
1 file changed
+1 -1
+1 -1
View File
@@ -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',
})