From a6bb0ffa53027cf47e3528894fceb3778112f5ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Mon, 3 Aug 2009 13:57:46 +0000 Subject: [PATCH] - allow **kw and use them as initial dictionary while creating document git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28248 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testBPMCore.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/product/ERP5/tests/testBPMCore.py b/product/ERP5/tests/testBPMCore.py index d223a7a511..5351c4664a 100644 --- a/product/ERP5/tests/testBPMCore.py +++ b/product/ERP5/tests/testBPMCore.py @@ -73,10 +73,11 @@ class TestBPMMixin(ERP5TypeTestCase): ['accounting', 'delivery', 'invoicing', 'discount', 'tax', 'payment']) @reindex - def createBusinessProcess(self): + def createBusinessProcess(self, **kw): module = self.portal.getDefaultModule( portal_type=self.business_process_portal_type) - return module.newContent(portal_type=self.business_process_portal_type) + return module.newContent(portal_type=self.business_process_portal_type, + **kw) @reindex def createBusinessPath(self, business_process=None, **kw): -- 2.30.9