Commit bc5e1bce authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use w3m dump explicitly.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30892 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 6faf6039
...@@ -206,6 +206,9 @@ class TestERP5Web(ERP5TypeTestCase, ZopeTestCase.Functional): ...@@ -206,6 +206,9 @@ class TestERP5Web(ERP5TypeTestCase, ZopeTestCase.Functional):
ZopeTestCase._print(message) ZopeTestCase._print(message)
# disable portal_transforms cache # disable portal_transforms cache
self.portal.portal_transforms.max_sec_in_cache=-1 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 = self.web_page_module.newContent(portal_type='Web Page')
page.edit(text_content='<p>Hé Hé Hé!</p>') page.edit(text_content='<p>Hé Hé Hé!</p>')
transaction.commit() transaction.commit()
......
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