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
0
Merge Requests
0
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
Titouan Soulard
slapos.core
Commits
d8a48980
Commit
d8a48980
authored
Mar 03, 2023
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MORE TESTS
parent
a0468900
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
29 deletions
+2
-29
master/tests/__init__.py
master/tests/__init__.py
+2
-29
No files found.
master/tests/__init__.py
View file @
d8a48980
...
...
@@ -18,22 +18,9 @@ slapos_bt_list = [
'slapos_configurator'
,
'slapos_mysql_innodb_catalog'
,
'slapos_jio'
,
'slapos_
jio
_ui_test'
,
'slapos_
panel
_ui_test'
,
'slapos_abyss'
]
slapos_bt_list
=
[
'slapos_configurator'
,
'slapos_erp5'
,
'slapos_cloud'
,
'slapos_accounting'
,
'slapos_panel_ui_test'
,
'slapos_pdm'
,
'slapos_slap_tool'
,
'slapos_payzen'
,
'slapos_wechat'
,
'slapos_mysql_innodb_catalog'
,
'slapos_abyss'
,
]
class
SlapOSCloud
(
SavedTestSuite
,
ProjectTestSuite
):
_product_list
=
[
'SlapOS'
]
...
...
@@ -56,24 +43,10 @@ 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'
:
# Skip product tests for now
continue
else
:
if
test_path
.
split
(
os
.
sep
)[
-
2
]
!=
'tests'
:
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