[Erp5-report] r25366 - /erp5/trunk/products/ERP5/tests/testAccounting.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 29 17:55:39 CET 2009


Author: jerome
Date: Thu Jan 29 17:55:39 2009
New Revision: 25366

URL: http://svn.erp5.org?rev=25366&view=rev
Log:
confirmed -> stopped is no longer possible

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

Modified: erp5/trunk/products/ERP5/tests/testAccounting.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testAccounting.py?rev=25366&r1=25365&r2=25366&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testAccounting.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testAccounting.py [utf8] Thu Jan 29 17:55:39 2009
@@ -634,6 +634,10 @@
 
     doActionFor(transaction, 'confirm_action')
     self.assertEquals('confirmed', transaction.getSimulationState())
+    self.assertTrue(_checkPermission('Modify portal content', transaction))
+
+    doActionFor(transaction, 'start_action')
+    self.assertEquals('started', transaction.getSimulationState())
     self.assertTrue(_checkPermission('Modify portal content', transaction))
 
     doActionFor(transaction, 'stop_action')




More information about the Erp5-report mailing list