[Erp5-report] r30103 - in /erp5/trunk/products/ERP5/tests: testPackingList.py testXHTML.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Oct 29 13:37:59 CET 2009


Author: kazuhiko
Date: Thu Oct 29 13:37:56 2009
New Revision: 30103

URL: http://svn.erp5.org?rev=30103&view=rev
Log:
check if source_project and destination_project are propagated (currently not).

Modified:
    erp5/trunk/products/ERP5/tests/testPackingList.py
    erp5/trunk/products/ERP5/tests/testXHTML.py

Modified: erp5/trunk/products/ERP5/tests/testPackingList.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testPackingList.py?rev=30103&r1=30102&r2=30103&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testPackingList.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testPackingList.py [utf8] Thu Oct 29 13:37:56 2009
@@ -46,6 +46,8 @@
                       stepCreateOrganisation1 \
                       stepCreateOrganisation2 \
                       stepCreateOrganisation3 \
+                      stepCreateProject1 \
+                      stepCreateProject2 \
                       stepCreateOrder \
                       stepCreateCurrency \
                       stepSetOrderPriceCurrency \
@@ -171,6 +173,10 @@
                                        order.getSourceAdministration())
     self.assertEquals(packing_list.getPriceCurrency(), \
                                        order.getPriceCurrency())
+    self.assertEquals(packing_list.getDestinationProject(), \
+                                       order.getDestinationProject())
+    self.assertEquals(packing_list.getSourceProject(), \
+                                       order.getSourceProject())
 
   def stepCheckPackingListIsDivergent(self, sequence=None, sequence_list=None,
                                       packing_list=None,**kw):

Modified: erp5/trunk/products/ERP5/tests/testXHTML.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testXHTML.py?rev=30103&r1=30102&r2=30103&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testXHTML.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testXHTML.py [utf8] Thu Oct 29 13:37:56 2009
@@ -62,6 +62,17 @@
     """  """
     return ( # dependency order
       'erp5_base',
+      'erp5_pdf_editor',
+      'erp5_ingestion',
+      'erp5_ingestion_mysql_innodb_catalog',
+      'erp5_web',
+      'erp5_dms',
+      'erp5_egov_mysql_innodb_catalog',
+      'erp5_egov',
+      )
+
+  def foo(self):
+    return ('erp5_base',
       'erp5_trade',
 
       'erp5_pdf_editor',




More information about the Erp5-report mailing list