Commit 5f5bea1a authored by Xiaowu Zhang's avatar Xiaowu Zhang Committed by Xiaowu Zhang

testBPMCore: update test for...

testBPMCore: update test for nexedi/erp5@9e530f6a
parent 98710a09
...@@ -430,13 +430,13 @@ class TestBPMImplementation(TestBPMDummyDeliveryMovementMixin): ...@@ -430,13 +430,13 @@ class TestBPMImplementation(TestBPMDummyDeliveryMovementMixin):
self.assertEqual([path_node.getRelativeUrl()], self.assertEqual([path_node.getRelativeUrl()],
business_path.getArrowCategoryDict(context=context_movement)['source']) business_path.getArrowCategoryDict(context=context_movement)['source'])
def test_BusinessPathDynamicCategoryAccessProviderEmptyMovement(self): def test_BusinessPathDynamicCategoryAccessProviderNoEmptyMovement(self):
business_path = self.createTradeModelPath() business_path = self.createTradeModelPath()
business_path.setSourceMethodId('TradeModelPath_getDefaultSourceList') business_path.setSourceMethodId('TradeModelPath_getDefaultSourceList')
context_movement = self.createMovement() context_movement = self.createMovement()
self.assertEqual(None, business_path.getSourceValue()) self.assertEqual(None, business_path.getSourceValue())
self.assertFalse(business_path.getArrowCategoryDict(context=context_movement).has_key('source')) self.assertTrue(business_path.getArrowCategoryDict(context=context_movement).has_key('source'))
def test_BusinessState_getRemainingTradePhaseList(self): def test_BusinessState_getRemainingTradePhaseList(self):
""" """
......
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