[Erp5-report] r20491 - /erp5/trunk/products/CMFCategory/tests/testCMFCategory.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Apr 14 16:14:27 CEST 2008


Author: jerome
Date: Mon Apr 14 16:14:26 2008
New Revision: 20491

URL: http://svn.erp5.org?rev=20491&view=rev
Log:
update "Test if acquired_portal_type works correctly." failing test.
destination_administration no longer acquire on causality, but acquires on
order, so use order for now (but this order acquisition is probably wrong as
well...)

Modified:
    erp5/trunk/products/CMFCategory/tests/testCMFCategory.py

Modified: erp5/trunk/products/CMFCategory/tests/testCMFCategory.py
URL: http://svn.erp5.org/erp5/trunk/products/CMFCategory/tests/testCMFCategory.py?rev=20491&r1=20490&r2=20491&view=diff
==============================================================================
--- erp5/trunk/products/CMFCategory/tests/testCMFCategory.py (original)
+++ erp5/trunk/products/CMFCategory/tests/testCMFCategory.py Mon Apr 14 16:14:26 2008
@@ -784,10 +784,10 @@
     self.assertEquals(order.getDestinationAdministrationPersonTitle(), 'toto')
 
     packing_list.setDestinationAdministrationValue(None)
-    packing_list.setCausalityValue(None)
+    packing_list.setOrderValue(None)
     self.assertEquals(packing_list.getDestinationAdministrationPersonTitle(), None)
 
-    packing_list.setCausalityValue(order)
+    packing_list.setOrderValue(order)
     self.assertEquals(packing_list.getDestinationAdministrationPersonTitle(), 'toto')
 
   def test_22_UserFriendlyException(self, quiet=quiet, run=run_all_test):




More information about the Erp5-report mailing list