Commit 11263d03 authored by Jérome Perrin's avatar Jérome Perrin

revise previous commit, we should use getTemplateField, because we can have a

valid proxyfield to an invalid proxyfield.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16321 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 1d749ac3
......@@ -130,7 +130,7 @@ class TestXHTML(ERP5TypeTestCase):
skins_tool = self.portal.portal_skins
for field_path, field in skins_tool.ZopeFind(
skins_tool, obj_metatypes=['ProxyField'], search_sub=1):
self.assertNotEqual(None, field.getRecursiveTemplateField(),
self.assertNotEqual(None, field.getTemplateField(),
'%s\nform_id:%s\nfield_id:%s\n' % (field_path,
field.get_value('form_id'),
field.get_value('field_id')))
......
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