diff --git a/product/ERP5/tests/testPackingList.py b/product/ERP5/tests/testPackingList.py index 3a15c8a49061bc7c5cf866737a265160e6acd766..678859732a18448474644b7617b1b087fe30e548 100644 --- a/product/ERP5/tests/testPackingList.py +++ b/product/ERP5/tests/testPackingList.py @@ -46,6 +46,8 @@ class TestPackingListMixin(TestOrderMixin): stepCreateOrganisation1 \ stepCreateOrganisation2 \ stepCreateOrganisation3 \ + stepCreateProject1 \ + stepCreateProject2 \ stepCreateOrder \ stepCreateCurrency \ stepSetOrderPriceCurrency \ @@ -171,6 +173,10 @@ class TestPackingListMixin(TestOrderMixin): 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): diff --git a/product/ERP5/tests/testXHTML.py b/product/ERP5/tests/testXHTML.py index d1af4f2c174dcc3678a1e90cade9cfb3a03650be..ff5f6ef6f4f2d14690ba6f4cad7f6e4ec51d58d3 100644 --- a/product/ERP5/tests/testXHTML.py +++ b/product/ERP5/tests/testXHTML.py @@ -62,6 +62,17 @@ class TestXHTML(ERP5TypeTestCase): """ """ 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',