Commit 63b98e10 authored by Romain Courteaud's avatar Romain Courteaud

Define report parameters in the request, as defined in the other DocumentationHelper unit tests

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35472 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1e2fd1d2
......@@ -126,10 +126,11 @@ class TestDocumentationHelper(ERP5TypeTestCase):
"""Checks that it is possible to do ODT report"""
# XXX-Luke: Currently always fail, some assertions shall be done after any
# reasonable result will be available
self.portal.portal_classes.DocumentationHelper_viewReport(
class_name='ERP5SiteDocumentationHelper',
business_template_list=['erp5_xhtml_style'], uri=self.portal.getUrl(),
portal_skin='ODT')
self.portal.REQUEST['class_name'] = 'ERP5SiteDocumentationHelper'
self.portal.REQUEST['uri'] = self.portal.getUrl()
self.portal.REQUEST['portal_skin'] = 'ODT'
self.portal.REQUEST['business_template_list'] = 'erp5_xhtml_style',
self.portal.portal_classes.DocumentationHelper_viewReport()
def test_suite():
suite = unittest.TestSuite()
......
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