[Erp5-report] r44390 seb - /erp5/trunk/products/ERP5/tests/testBPMCore.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Mar 17 15:04:06 CET 2011
Author: seb
Date: Thu Mar 17 15:04:05 2011
New Revision: 44390
URL: http://svn.erp5.org?rev=44390&view=rev
Log:
* BusinessProcess.getPathValueList was renamed to
getBusinessLinkValueList
* now test_BusinessProcess_getBusinessLinkValueList is
passing with new simulation
Modified:
erp5/trunk/products/ERP5/tests/testBPMCore.py
Modified: erp5/trunk/products/ERP5/tests/testBPMCore.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testBPMCore.py?rev=44390&r1=44389&r2=44390&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBPMCore.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBPMCore.py [utf8] Thu Mar 17 15:04:05 2011
@@ -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'))
)
More information about the Erp5-report
mailing list