Commit 54f24197 authored by Yoshinori Okuji's avatar Yoshinori Okuji

packing_list_building_state is not a tuple.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4139 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 930e69d0
......@@ -766,7 +766,7 @@ class TestOrderMixin:
portal_type=self.packing_list_portal_type)
packing_list_building_state = 'confirmed'
order_state = order.getSimulationState()
if order_state not in packing_list_building_state:
if order_state != packing_list_building_state:
self.assertEquals(0, len(related_packing_list_list))
else:
self.assertEquals(1, len(related_packing_list_list))
......
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