Commit 9973586a authored by Sebastien Robin's avatar Sebastien Robin

some tests disable business links

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@45305 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent acd4b90d
......@@ -128,6 +128,7 @@ class TestTradeModelLineMixin(TestBPMMixin, UserDict):
def createBusinessProcess(self, business_link_list=(), **kw):
business_process = super(TestTradeModelLineMixin,
self).createBusinessProcess(**kw)
if self.business_link_portal_type is not None:
for business_link in business_link_list:
link = self.createBusinessLink(business_process, **business_link)
self['business_link/' + link.getTradePhaseId()] = link
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment