Commit c8b60ca5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

the teardown logic was wrong. it should be the opposite of the setup modification here.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32247 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 86e14be1
...@@ -484,9 +484,9 @@ class TestERP5Simulation(TestERP5SimulationMixin, ERP5TypeTestCase): ...@@ -484,9 +484,9 @@ class TestERP5Simulation(TestERP5SimulationMixin, ERP5TypeTestCase):
def beforeTearDown(self): def beforeTearDown(self):
new_order_rule = self.portal.portal_rules['new_order_rule'] new_order_rule = self.portal.portal_rules['new_order_rule']
new_order_rule['quantity_tester'].edit(quantity=None, new_order_rule['quantity_tester'].edit(quantity=0,
quantity_range_max=2, quantity_range_max=None,
quantity_range_min=-1) quantity_range_min=None)
TestERP5SimulationMixin.beforeTearDown(self) TestERP5SimulationMixin.beforeTearDown(self)
def _modifyPackingListLineQuantity(self, sequence=None, def _modifyPackingListLineQuantity(self, sequence=None,
......
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