[Erp5-report] r27005 - /erp5/trunk/products/ERP5/tests/testPackingList.py

nobody at svn.erp5.org nobody at svn.erp5.org
Fri May 15 14:19:52 CEST 2009


Author: luke
Date: Fri May 15 14:19:52 2009
New Revision: 27005

URL: http://svn.erp5.org?rev=27005&view=rev
Log:
 - need to confirm before cancel to have any simulations

Modified:
    erp5/trunk/products/ERP5/tests/testPackingList.py

Modified: erp5/trunk/products/ERP5/tests/testPackingList.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testPackingList.py?rev=27005&r1=27004&r2=27005&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testPackingList.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testPackingList.py [utf8] Fri May 15 14:19:52 2009
@@ -1592,6 +1592,8 @@
   def test_delivery_rule_simulation_cancel(self):
     self.createDocuments()
     self.delivery.confirm()
+    self.assertEqual('confirmed', self.delivery.getSimulationState())
+    transaction.commit() ; self.tic()
     self.delivery.cancel()
     self.assertEqual('cancelled', self.delivery.getSimulationState())
 




More information about the Erp5-report mailing list