Commit 3bad5a9d authored by Romain Courteaud's avatar Romain Courteaud

testXHTML: do not check some html files

parent 3694ff88
...@@ -230,7 +230,9 @@ class TestXHTMLMixin(ERP5TypeTestCase): ...@@ -230,7 +230,9 @@ class TestXHTMLMixin(ERP5TypeTestCase):
for script_path, script in skins_tool.ZopeFind( for script_path, script in skins_tool.ZopeFind(
skins_tool, obj_metatypes=['File'], search_sub=1): skins_tool, obj_metatypes=['File'], search_sub=1):
is_required_check_path = True is_required_check_path = True
ignore_bts = ['erp5_jquery','erp5_fckeditor', 'erp5_svg_editor', 'erp5_jquery_ui'] ignore_bts = ['erp5_jquery', 'erp5_fckeditor', 'erp5_ckeditor',
'erp5_svg_editor', 'erp5_jquery_ui',
'erp5_dms/pdf_js', 'erp5_test_result/test_result_js']
if script_path.endswith('.html'): if script_path.endswith('.html'):
for ignore_bt_name in ignore_bts: for ignore_bt_name in ignore_bts:
if script_path.startswith(ignore_bt_name): if script_path.startswith(ignore_bt_name):
......
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