Commit d3569117 authored by Jérome Perrin's avatar Jérome Perrin

Rename test_form_list_report_tree into test_form_list_domain_tree, as it's

testing domain_tree, not report_tree.
Try to initialise the domain parameters, but someting is incorrect there,
because the domain in not activated in the generated odt.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25910 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 0ec23e68
...@@ -99,10 +99,16 @@ class TestOOoStyle(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -99,10 +99,16 @@ class TestOOoStyle(ERP5TypeTestCase, ZopeTestCase.Functional):
self.assertEquals('inline', content_disposition.split(';')[0]) self.assertEquals('inline', content_disposition.split(';')[0])
self._validate(response.getBody()) self._validate(response.getBody())
def test_form_list_report_tree(self): def test_form_list_domain_tree(self):
self.portal.portal_selections.setListboxDisplayMode( self.portal.portal_selections.setListboxDisplayMode(
self.portal.REQUEST, 'DomainTreeMode', self.portal.REQUEST, 'DomainTreeMode',
'person_module_selection') 'person_module_selection')
# XXX no proper API on selection / selection tool for this ?
self.portal.portal_selections.setSelectionParamsFor(
selection_name='person_module_selection',
params=dict(domain_path='portal_categories',
domain_url='group',
domain_list=()))
response = self.publish( response = self.publish(
'/%s/person_module/PersonModule_viewPersonList' '/%s/person_module/PersonModule_viewPersonList'
% self.portal.getId(), self.auth) % self.portal.getId(), self.auth)
......
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