Commit a8a7ce88 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

consumed movement id is changed since r33314.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33454 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 645b80f8
......@@ -394,7 +394,8 @@ class TestProductionOrderApparelMixin(TestOrderMixin):
self.assertEquals(2, len(simulation_movement_list))
# Test consumed movement
transformation = sequence.get('transformation')
consumed_movement_id = 'cr_%s_1' % transformation.getId()
consumed_movement_id = 'cr_%s_1_%s' % (transformation.getId(),
applied_rule.getParentId())
consumed_movement = applied_rule[consumed_movement_id]
operation_resource = consumed_movement.portal_categories.resolveCategory(
'operation/operation1')
......
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