Commit c89c9417 authored by Julien Muchembled's avatar Julien Muchembled

In test_01_ERP5Site, generate the ODT report for all (6) business templates. This is fast enough.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25545 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent f5830ba3
...@@ -70,11 +70,11 @@ class TestDocumentationHelper(ERP5TypeTestCase): ...@@ -70,11 +70,11 @@ class TestDocumentationHelper(ERP5TypeTestCase):
#test the report mode of the documentation of the whole site #test the report mode of the documentation of the whole site
self.portal.REQUEST['class_name'] = site_do.getClassName() self.portal.REQUEST['class_name'] = site_do.getClassName()
self.portal.REQUEST['uri'] = site_uri self.portal.REQUEST['uri'] = site_uri
self.portal.REQUEST['business_template_list'] = 'erp5_documentation',
self.portal.portal_classes.DocumentationHelper_viewReport()
self.portal.REQUEST['business_template_list'] = 'erp5_ui_test',
self.portal.REQUEST['portal_skin'] = 'ODT' self.portal.REQUEST['portal_skin'] = 'ODT'
self.portal.portal_classes.DocumentationHelper_viewReport() self.portal.portal_classes.DocumentationHelper_viewReport()
self.portal.REQUEST['business_template_list'] = 'erp5_documentation',
self.portal.REQUEST['portal_skin'] = 'View'
self.portal.portal_classes.DocumentationHelper_viewReport()
def test_02_BusinessTemplate(self): def test_02_BusinessTemplate(self):
ZopeTestCase._print('\nTest Documentation Business Template') ZopeTestCase._print('\nTest Documentation Business Template')
......
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