[Erp5-report] r32247 kazuhiko - /erp5/trunk/products/ERP5/tests/testERP5Simulation.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Feb 4 06:58:22 CET 2010
Author: kazuhiko
Date: Thu Feb 4 06:58:22 2010
New Revision: 32247
URL: http://svn.erp5.org?rev=32247&view=rev
Log:
the teardown logic was wrong. it should be the opposite of the setup modification here.
Modified:
erp5/trunk/products/ERP5/tests/testERP5Simulation.py
Modified: erp5/trunk/products/ERP5/tests/testERP5Simulation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Simulation.py?rev=32247&r1=32246&r2=32247&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Simulation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Simulation.py [utf8] Thu Feb 4 06:58:22 2010
@@ -484,9 +484,9 @@
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,
More information about the Erp5-report
mailing list