diff --git a/product/ERP5/tests/testXHTML.py b/product/ERP5/tests/testXHTML.py index 6cd4691dc89284c5570527cb5d6854b961982dc5..d15e5e993de0836838abe9fc7154fccdda410fa6 100644 --- a/product/ERP5/tests/testXHTML.py +++ b/product/ERP5/tests/testXHTML.py @@ -396,7 +396,7 @@ def addTestMethodDynamically(validator): for business_template_info in business_template_info_list: for module_id, module_portal_type in business_template_info.modules.items(): portal_type_list = [module_portal_type, ] + \ - business_template_info.allowed_content_types.get(module_portal_type, ()) + business_template_info.allowed_content_types.get(module_portal_type, []) portal_type_path_dict = {} portal_type_path_dict = dict(map(None,portal_type_list,portal_type_list)) testPortalTypeViewRecursivly(validator=validator,