Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
139
Merge Requests
139
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
e217b510
Commit
e217b510
authored
Mar 30, 2020
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: new ERP5 test suite to run only renderJS and officeJS tests
parent
0d21e7ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
tests/__init__.py
tests/__init__.py
+10
-0
No files found.
tests/__init__.py
View file @
e217b510
...
...
@@ -226,3 +226,13 @@ class ERP5BusinessTemplateCodingStyleTestSuite(_ERP5):
def
run
(
self
,
full_test
):
return
self
.
runUnitTest
(
'CodingStyleTest'
,
TESTED_BUSINESS_TEMPLATE
=
full_test
)
class
RJS_Only
(
_ERP5
):
def
getTestList
(
self
):
rjs_officejs_bt_list
=
[
"erp5_officejs_"
,
"renderjs_ui_test"
,
"erp5_monaco_editor_ui_test"
,
"erp5_travel_expense_ui_test"
,
"erp5_gadget_interface_validator_ui_test"
,
"erp5_hal_json_style"
]
return
[
test
for
test
in
self
.
_getAllTestList
()
if
any
(
test
.
find
(
bt
)
>-
1
for
bt
in
rjs_officejs_bt_list
)]
\ No newline at end of file
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