[Erp5-report] r25208 - /erp5/trunk/products/ERP5/tests/testImmobilisation.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jan 20 18:30:44 CET 2009


Author: nicolas
Date: Tue Jan 20 18:30:43 2009
New Revision: 25208

URL: http://svn.erp5.org?rev=25208&view=rev
Log:
Use legacy method

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

Modified: erp5/trunk/products/ERP5/tests/testImmobilisation.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testImmobilisation.py?rev=25208&r1=25207&r2=25208&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testImmobilisation.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testImmobilisation.py [utf8] Tue Jan 20 18:30:43 2009
@@ -230,7 +230,7 @@
     self.createOrganisationList()
     self.createAccountList()
     self.createItemList()
-    self.validateRuleList()
+    self.validateRules()
     get_transaction().commit()
     self.tic()
 
@@ -421,11 +421,6 @@
       for i in range(30):
         item_id = 'item%i' % i
         item_module.newContent(id=item_id, reference='%i' % i)
-
-  def validateRuleList(self):
-    portal_rules = self.getRuleTool()
-    for rule in portal_rules.objectValues():
-      rule.validate()
 
   def stepTic(self, sequence=None, sequence_list=None, **kw):
     self.tic()




More information about the Erp5-report mailing list