[Erp5-report] r29836 - /erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Oct 20 10:55:45 CEST 2009


Author: luke
Date: Tue Oct 20 10:55:45 2009
New Revision: 29836

URL: http://svn.erp5.org?rev=29836&view=rev
Log:
 - stepTic is defined in ERP5TypeTestCase and is able to recognise if it is run in sequence or not

Modified:
    erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py

Modified: erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py?rev=29836&r1=29835&r2=29836&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py [utf8] (original)
+++ erp5/trunk/products/ERP5Banking/tests/TestERP5BankingMixin.py [utf8] Tue Oct 20 10:55:45 2009
@@ -299,18 +299,6 @@
     Return the Counter Date Module
     """
     return getattr(self.getPortal(), 'counter_module', None)
-
-
-  def stepTic(self, **kwd):
-    """
-    The is used to simulate the zope_tic_loop script
-    Each time this method is called, it simulates a call to tic
-    which invoke activities in the Activity Tool
-    """
-    # execute transaction
-    get_transaction().commit()
-    self.tic()
-
 
   def createCurrency(self, currency_list=(('EUR', 'Euro', 1/652., 1/650., 'USD'), ('USD', 'USD', 652, 650., 'EUR')), only_currency=False):
     # create the currency document for euro inside the currency module




More information about the Erp5-report mailing list