Fix Transaction.start to use keyword argument for context
This commit is contained in:
1 parent
8355c04579
commit
c7550a9968
1 file changed
+1
-1
@@ -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',
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user