Commit 97597ea3 authored by Sebastien Robin's avatar Sebastien Robin

* BusinessProcess.getPathValueList was renamed to

  getBusinessLinkValueList
* now test_BusinessProcess_getBusinessLinkValueList is
  passing with new simulation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44390 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1ab50c3c
......@@ -194,8 +194,7 @@ class TestBPMMixin(ERP5TypeTestCase):
class TestBPMImplementation(TestBPMMixin):
"""Business Process implementation tests"""
@newSimulationExpectedFailure
def test_BusinessProcess_getPathValueList(self):
def test_BusinessProcess_getBusinessLinkValueList(self):
business_process = self.createBusinessProcess()
accounting_business_link = business_process.newContent(
......@@ -214,18 +213,18 @@ class TestBPMImplementation(TestBPMMixin):
self.assertSameSet(
(accounting_business_link, accounting_delivery_business_link),
business_process.getPathValueList(trade_phase='default/accounting')
business_process.getBusinessLinkValueList(trade_phase='default/accounting')
)
self.assertSameSet(
(delivery_business_link, accounting_delivery_business_link),
business_process.getPathValueList(trade_phase='default/delivery')
business_process.getBusinessLinkValueList(trade_phase='default/delivery')
)
self.assertSameSet(
(accounting_delivery_business_link, delivery_business_link,
accounting_business_link),
business_process.getPathValueList(trade_phase=('default/delivery',
business_process.getBusinessLinkValueList(trade_phase=('default/delivery',
'default/accounting'))
)
......
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