[Erp5-report] r27841 - /erp5/trunk/products/ERP5/tests/testBPMCore.py

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Jul 1 10:00:29 CEST 2009


Author: luke
Date: Wed Jul  1 10:00:24 2009
New Revision: 27841

URL: http://svn.erp5.org?rev=27841&view=rev
Log:
 - follow change in algorithm - result with such order is good too

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

Modified: erp5/trunk/products/ERP5/tests/testBPMCore.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testBPMCore.py?rev=27841&r1=27840&r2=27841&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testBPMCore.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testBPMCore.py [utf8] Wed Jul  1 10:00:24 2009
@@ -1722,6 +1722,8 @@
       * (DE) B (FG) C A
         or
       * (FG) C (DE) B A
+        or
+      * (DEFG) (BC) A
     where everything in parenthesis can be not sorted
     """
     trade_condition = self.createTradeCondition()
@@ -1757,7 +1759,7 @@
 
     # XXX: This is only one good possible sorting
     self.assertEquals([q.getReference() for q in trade_model_line_list],
-        [q.getReference() for q in [D, E, B, F, G, C, A]])
+        [q.getReference() for q in [G, F, E, D, C, B, A]])
 
 
   def test_getAggregatedAmountList(self):




More information about the Erp5-report mailing list