Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_workflow
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenjie.zheng
erp5_workflow
Commits
9861d856
Commit
9861d856
authored
Dec 08, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testXHTML: jio & renderjs should not be tested here
parent
fe410861
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
product/ERP5/tests/testXHTML.py
product/ERP5/tests/testXHTML.py
+5
-4
No files found.
product/ERP5/tests/testXHTML.py
View file @
9861d856
...
...
@@ -49,8 +49,9 @@ class TestXHTMLMixin(ERP5TypeTestCase):
# some forms have intentionally empty listbox selections like RSS generators
FORM_LISTBOX_EMPTY_SELECTION_PATH_LIST
=
[
'erp5_web_widget_library/WebSection_viewContentListAsRSS'
]
IGNORE_FILE_LIST
=
[
'require.js'
,
'require.min.js'
,
'wz_dragdrop.js'
,
'gadget_activity_watcher.js'
,
'handlebars.js'
]
IGNORE_FILE_LIST
=
[
'require.js'
,
'require.min.js'
,
'wz_dragdrop.js'
,
'jio.js'
,
'jio_sha256.amd.js'
,
'renderjs.js'
,
'rsvp.js'
,
'gadget_activity_watcher.js'
,
'handlebars.js'
]
def
changeSkin
(
self
,
skin_name
):
"""
...
...
@@ -171,10 +172,10 @@ class TestXHTMLMixin(ERP5TypeTestCase):
ignore_bts
=
[
'erp5_jquery'
,
'erp5_fckeditor'
,
'erp5_xinha_editor'
,
'erp5_jquery_ui'
]
if
script_path
.
endswith
(
'.js'
):
for
ignore_bt_name
in
ignore_bts
:
if
script_path
.
startswith
(
ignore_bt_name
):
if
script_path
.
startswith
(
ignore_bt_name
):
is_required_check_path
=
False
for
ignore_file
in
self
.
IGNORE_FILE_LIST
:
if
script_path
.
endswith
(
ignore_file
):
if
script_path
.
endswith
(
ignore_file
):
is_required_check_path
=
False
if
is_required_check_path
:
path_list
.
append
(
script_path
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment