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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Boxiang Sun
erp5
Commits
bc28ba4c
Commit
bc28ba4c
authored
Jun 02, 2021
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Try to enable erp5-doc test
parent
a5db87a1
Pipeline
#15787
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
tests/__init__.py
tests/__init__.py
+2
-4
No files found.
tests/__init__.py
View file @
bc28ba4c
...
...
@@ -35,9 +35,7 @@ class _ERP5(ERP5TypeTestSuite):
component_re
=
re
.
compile
(
".*/([^/]+)/TestTemplateItem/portal_components"
"/test
\
.[^.]+
\
.([^.]+).py$"
)
for
test_path
in
(
glob
(
'%s/product/*/tests/test*.py'
%
path
)
+
glob
(
'%s/bt5/*/TestTemplateItem/test*.py'
%
path
)
+
glob
(
'%s/bt5/*/TestTemplateItem/portal_components/test.*.test*.py'
%
path
)):
glob
(
'%s/../erp5-doc/bt5/*/TestTemplateItem/portal_components/test.*.test*.py'
%
path
)):
component_re_match
=
component_re
.
match
(
test_path
)
if
component_re_match
is
not
None
:
test_case
=
"%s:%s"
%
(
component_re_match
.
group
(
1
),
...
...
@@ -235,4 +233,4 @@ class RJS_Only(_ERP5):
"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
return
[
test
for
test
in
self
.
_getAllTestList
()
if
any
(
test
.
find
(
bt
)
>-
1
for
bt
in
rjs_officejs_bt_list
)]
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