[Erp5-report] r40140 jm - /erp5/trunk/products/ERP5/tests/testInvalidationBug.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Nov 9 18:50:23 CET 2010


Author: jm
Date: Tue Nov  9 18:50:23 2010
New Revision: 40140

URL: http://svn.erp5.org?rev=40140&view=rev
Log:
Fix testInvalidationBug so that testLateInvalidationFromZEO starts without any pending activity

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

Modified: erp5/trunk/products/ERP5/tests/testInvalidationBug.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testInvalidationBug.py?rev=40140&r1=40139&r2=40140&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testInvalidationBug.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testInvalidationBug.py [utf8] Tue Nov  9 18:50:23 2010
@@ -88,6 +88,7 @@ class TestInvalidationBug(ERP5TypeTestCa
       transaction.commit()
     finally:
       transaction.Transaction._commitResources = Transaction_commitResources
+    self.tic()
     self.assertEqual(result_list[0], [0,0])
     self.assertEqual(result_list[1], [0,0])  # activity buffer first
     self.assertEqual(result_list[-2], [1,0]) # catalog




More information about the Erp5-report mailing list