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,9 +128,10 @@ class TestTradeModelLineMixin(TestBPMMixin, UserDict): ...@@ -128,9 +128,10 @@ class TestTradeModelLineMixin(TestBPMMixin, UserDict):
def createBusinessProcess(self, business_link_list=(), **kw): def createBusinessProcess(self, business_link_list=(), **kw):
business_process = super(TestTradeModelLineMixin, business_process = super(TestTradeModelLineMixin,
self).createBusinessProcess(**kw) self).createBusinessProcess(**kw)
for business_link in business_link_list: if self.business_link_portal_type is not None:
link = self.createBusinessLink(business_process, **business_link) for business_link in business_link_list:
self['business_link/' + link.getTradePhaseId()] = link link = self.createBusinessLink(business_process, **business_link)
self['business_link/' + link.getTradePhaseId()] = link
return business_process return business_process
@save_result_as('trade_condition') @save_result_as('trade_condition')
......
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