[Erp5-report] r27455 - /erp5/trunk/products/ERP5/tests/testNewPayroll.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 9 09:35:21 CEST 2009


Author: fabien
Date: Tue Jun  9 09:35:20 2009
New Revision: 27455

URL: http://svn.erp5.org?rev=27455&view=rev
Log:
- change a bit bt order (erp5_payroll is better at the end)
- add a TODO from old tests

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

Modified: erp5/trunk/products/ERP5/tests/testNewPayroll.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testNewPayroll.py?rev=27455&r1=27454&r2=27455&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testNewPayroll.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testNewPayroll.py [utf8] Tue Jun  9 09:35:20 2009
@@ -110,7 +110,7 @@
   def getBusinessTemplateList(self):
     """ """
     return ('erp5_base', 'erp5_pdm', 'erp5_trade', 'erp5_accounting',
-            'erp5_invoicing', 'erp5_payroll', 'erp5_mrp', 'erp5_bpm')
+            'erp5_invoicing', 'erp5_mrp', 'erp5_bpm', 'erp5_payroll')
 
   def createPayrollService(self):
     module = self.portal.getDefaultModule(portal_type='Payroll Service')
@@ -984,6 +984,12 @@
       call the XMLMatrix.getCell and if the cell is not found, call
       getCell method in all it's inherited model until the cell is found or
       the cell have been searched on all inherited models.
+
+      TODO : Currently, the method use a Depth-First Search algorithm, it will
+      be better to use Breadth-First Search one.
+      more about this on :
+        - http://en.wikipedia.org/wiki/Breadth-first_search
+        - http://en.wikipedia.org/wiki/Depth-first_search
     '''
     sequence_list = SequenceList()
     sequence_string = """




More information about the Erp5-report mailing list