Commit 05f823f5 authored by Nicolas Delaby's avatar Nicolas Delaby

*revert r31263

 Remove this hardcoded portal_transform policy as it should be defined by default
on portal_transforms by Business Template installation. Approved by jp.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31269 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 42e66705
......@@ -206,9 +206,6 @@ class TestERP5Web(ERP5TypeTestCase):
ZopeTestCase._print(message)
# disable portal_transforms cache
self.portal.portal_transforms.max_sec_in_cache=-1
# use w3m dump explicitly
self.portal.portal_transforms.manage_addPolicy(output_mimetype='text/plain',
required_transforms=['w3m_dump'])
page = self.web_page_module.newContent(portal_type='Web Page')
page.edit(text_content='<p>Hé Hé Hé!</p>')
transaction.commit()
......@@ -930,9 +927,6 @@ Hé Hé Hé!""", page.asText().strip())
portal = self.getPortal()
request = portal.REQUEST
request['PARENTS'] = [self.app]
# use w3m dump explicitly
self.portal.portal_transforms.manage_addPolicy(output_mimetype='text/plain',
required_transforms=['w3m_dump'])
website = self.setupWebSite()
web_section_portal_type = 'Web Section'
web_section = website.newContent(portal_type=web_section_portal_type)
......
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