Commit 9323e773 authored by Romain Courteaud's avatar Romain Courteaud

LESS TESTS

parent e3eca6f4
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment