Fix Transaction.start to use keyword argument for context
This commit is contained in:
1 parent
42fd417931
commit
008d9aaa8d
1 file changed
+2
-1
@@ -43,7 +43,8 @@ class AccountTestCase(unittest.TestCase):
|
||||
|
||||
def test0010account_chart(self):
|
||||
'Test creation of minimal chart of accounts'
|
||||
with Transaction().start(DB_NAME, USER, CONTEXT) as transaction:
|
||||
with Transaction().start(DB_NAME, USER,
|
||||
context=CONTEXT) as transaction:
|
||||
account_template_id, = self.account_template.search([
|
||||
('parent', '=', False),
|
||||
])
|
||||
|
||||
Reference in new issue
Block a user