[Erp5-report] r26608 - /erp5/trunk/products/ERP5Type/tests/testXMLMatrix.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Apr 23 13:30:42 CEST 2009


Author: jerome
Date: Thu Apr 23 13:30:38 2009
New Revision: 26608

URL: http://svn.erp5.org?rev=26608&view=rev
Log:
call tic, to make sure that there are no invalid activities created by cell
range renaming

Modified:
    erp5/trunk/products/ERP5Type/tests/testXMLMatrix.py

Modified: erp5/trunk/products/ERP5Type/tests/testXMLMatrix.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/testXMLMatrix.py?rev=26608&r1=26607&r2=26608&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/testXMLMatrix.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/testXMLMatrix.py [utf8] Thu Apr 23 13:30:38 2009
@@ -39,6 +39,7 @@
   from transaction import get as get_transaction
 except ImportError:
   pass
+
 
 class TestXMLMatrix(ERP5TypeTestCase):
   """
@@ -178,6 +179,11 @@
         self.assertNotEqual(cell, None)
         self.assertEqual(getattr(cell, 'test_id', None), value_list[i])
       i += 1
+
+    # now commit transaction to make sure there are no activities for cells
+    # that no longer exists.
+    get_transaction().commit()
+    self.tic()
 
   def checkSetCellRangeAndCatalog(self, active=1):
     """




More information about the Erp5-report mailing list