Fix context keyword in Transaction.start

This commit is contained in:
Cédric Krier committed 2012-02-08 09:36:37 +01:00
1 parent 72a650beac
commit 04e1a45f36
1 file changed
+1 -1
+1 -1
View File
@@ -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',
})