Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
Romain Courteaud
slapos.core
Commits
3ba6b453
Commit
3ba6b453
authored
Oct 12, 2022
by
Romain Courteaud
🐸
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
LESS TESTS
parent
45ccf7c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
1 deletion
+28
-1
master/tests/__init__.py
master/tests/__init__.py
+28
-1
No files found.
master/tests/__init__.py
View file @
3ba6b453
...
...
@@ -22,6 +22,19 @@ slapos_bt_list = [
'slapos_jio_ui_test'
,
'slapos_abyss'
]
slapos_bt_list
=
[
'slapos_erp5'
,
'slapos_cloud'
,
'slapos_accounting'
,
'slapos_panel_ui_test'
,
'slapos_pdm'
,
'slapos_slap_tool'
,
'slapos_payzen'
,
'slapos_wechat'
,
'slapos_crm'
,
'slapos_mysql_innodb_catalog'
,
'slapos_abyss'
,
]
class
SlapOSCloud
(
SavedTestSuite
,
ProjectTestSuite
):
_product_list
=
[
'SlapOS'
]
...
...
@@ -44,10 +57,24 @@ class SlapOSCloud(SavedTestSuite, ProjectTestSuite):
if
component_re_match
is
not
None
:
test_case
=
"%s:%s"
%
(
component_re_match
.
group
(
1
),
component_re_match
.
group
(
2
))
"""
if component_re_match.group(2) not in [
'testSlapOSERP5VirtualMasterScenario',
'testSlapOSAllocationSupply',
'testSlapOSSaleSupply',
'testFunctionalSlapOSPanelStyle',
'testSlapOSPDMCreateUpgradeDecisionSkins',
'testSlapOSSlapTool',
]:
continue
"""
else
:
test_case
=
test_path
.
split
(
os
.
sep
)[
-
1
][:
-
3
]
# remove .py
# Filter bt tests to run from _bt_list list
if
test_path
.
split
(
os
.
sep
)[
-
2
]
!=
'tests'
:
if
test_path
.
split
(
os
.
sep
)[
-
2
]
==
'tests'
:
# Skip product tests for now
continue
else
:
if
test_path
.
split
(
os
.
sep
)[
-
2
]
==
'portal_components'
:
product
=
test_path
.
split
(
os
.
sep
)[
-
4
]
else
:
...
...
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