Commit 21947c37 authored by Romain Courteaud's avatar Romain Courteaud

XXXXXXXXXXXXX Revert "ERP5/tests/testXHTML: do not report unused forms"

This reverts commit 3444caa5.
parent 7ccf687f
...@@ -112,10 +112,6 @@ class TestXHTMLMixin(ERP5TypeTestCase): ...@@ -112,10 +112,6 @@ class TestXHTMLMixin(ERP5TypeTestCase):
except BrokenProxyField: except BrokenProxyField:
template_field = None template_field = None
if template_field is None: if template_field is None:
# field's parent form can actually exists but not in current skin, check if it can be found in portal_skins
found_list_action_list = skins_tool.ZopeFind(skins_tool, obj_ids=[field.form.id], search_sub=1)
if found_list_action_list and (found_list_action_list[0][1] != field.form):
continue
# Base_viewRelatedObjectList (used for proxy listbox ids on # Base_viewRelatedObjectList (used for proxy listbox ids on
# relation fields) is an exception, the proxy field has no target # relation fields) is an exception, the proxy field has no target
# by default. # by default.
......
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