Commit 43df2954 authored by Romain Courteaud's avatar Romain Courteaud

[HARDCODED] LESS TESTS

parent 61af4d9b
...@@ -22,6 +22,9 @@ slapos_bt_list = [ ...@@ -22,6 +22,9 @@ slapos_bt_list = [
'slapos_jio_ui_test', 'slapos_jio_ui_test',
'slapos_abyss' 'slapos_abyss'
] ]
slapos_bt_list = [
'slapos_erp5'
]
class SlapOSCloud(SavedTestSuite, ProjectTestSuite): class SlapOSCloud(SavedTestSuite, ProjectTestSuite):
_product_list = ['SlapOS'] _product_list = ['SlapOS']
...@@ -44,10 +47,15 @@ class SlapOSCloud(SavedTestSuite, ProjectTestSuite): ...@@ -44,10 +47,15 @@ class SlapOSCloud(SavedTestSuite, ProjectTestSuite):
if component_re_match is not None: if component_re_match is not None:
test_case = "%s:%s" % (component_re_match.group(1), test_case = "%s:%s" % (component_re_match.group(1),
component_re_match.group(2)) component_re_match.group(2))
if component_re_match.group(2) != 'testSlapOSERP5VirtualMasterScenario':
continue
else: else:
test_case = test_path.split(os.sep)[-1][:-3] # remove .py test_case = test_path.split(os.sep)[-1][:-3] # remove .py
# Filter bt tests to run from _bt_list list # 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': if test_path.split(os.sep)[-2] == 'portal_components':
product = test_path.split(os.sep)[-4] product = test_path.split(os.sep)[-4]
else: 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