Commit f50c53c9 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

check if source_project and destination_project are propagated (currently not).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30103 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ad3d5d53
...@@ -46,6 +46,8 @@ class TestPackingListMixin(TestOrderMixin): ...@@ -46,6 +46,8 @@ class TestPackingListMixin(TestOrderMixin):
stepCreateOrganisation1 \ stepCreateOrganisation1 \
stepCreateOrganisation2 \ stepCreateOrganisation2 \
stepCreateOrganisation3 \ stepCreateOrganisation3 \
stepCreateProject1 \
stepCreateProject2 \
stepCreateOrder \ stepCreateOrder \
stepCreateCurrency \ stepCreateCurrency \
stepSetOrderPriceCurrency \ stepSetOrderPriceCurrency \
...@@ -171,6 +173,10 @@ class TestPackingListMixin(TestOrderMixin): ...@@ -171,6 +173,10 @@ class TestPackingListMixin(TestOrderMixin):
order.getSourceAdministration()) order.getSourceAdministration())
self.assertEquals(packing_list.getPriceCurrency(), \ self.assertEquals(packing_list.getPriceCurrency(), \
order.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, def stepCheckPackingListIsDivergent(self, sequence=None, sequence_list=None,
packing_list=None,**kw): packing_list=None,**kw):
......
...@@ -62,6 +62,17 @@ class TestXHTML(ERP5TypeTestCase): ...@@ -62,6 +62,17 @@ class TestXHTML(ERP5TypeTestCase):
""" """ """ """
return ( # dependency order return ( # dependency order
'erp5_base', '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_trade',
'erp5_pdf_editor', 'erp5_pdf_editor',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment