From c8b60ca59965b89a72e094a9fdef175e478a3b60 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Thu, 4 Feb 2010 05:58:22 +0000 Subject: [PATCH] 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 --- product/ERP5/tests/testERP5Simulation.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/product/ERP5/tests/testERP5Simulation.py b/product/ERP5/tests/testERP5Simulation.py index f1b97d8349..8c55657ade 100644 --- a/product/ERP5/tests/testERP5Simulation.py +++ b/product/ERP5/tests/testERP5Simulation.py @@ -484,9 +484,9 @@ class TestERP5Simulation(TestERP5SimulationMixin, ERP5TypeTestCase): def beforeTearDown(self): new_order_rule = self.portal.portal_rules['new_order_rule'] - new_order_rule['quantity_tester'].edit(quantity=None, - quantity_range_max=2, - quantity_range_min=-1) + new_order_rule['quantity_tester'].edit(quantity=0, + quantity_range_max=None, + quantity_range_min=None) TestERP5SimulationMixin.beforeTearDown(self) def _modifyPackingListLineQuantity(self, sequence=None, -- 2.30.9