Fix context keyword in Transaction.start
This commit is contained in:
1 parent
72a650beac
commit
04e1a45f36
1 file changed
+1
-1
@@ -48,7 +48,7 @@ class CarrierWeightTestCase(unittest.TestCase):
|
||||
'''
|
||||
Test compute_percentage.
|
||||
'''
|
||||
with Transaction().start(DB_NAME, USER, CONTEXT):
|
||||
with Transaction().start(DB_NAME, USER, context=CONTEXT):
|
||||
party_id = self.party.create({
|
||||
'name': 'Carrier',
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user