diff options
-rw-r--r-- | dovetail/testcase.py | 6 | ||||
-rw-r--r-- | etc/compliance/proposed_tests.yml | 16 |
2 files changed, 13 insertions, 9 deletions
diff --git a/dovetail/testcase.py b/dovetail/testcase.py index 221d07f4..9680f192 100644 --- a/dovetail/testcase.py +++ b/dovetail/testcase.py @@ -16,6 +16,7 @@ from parser import Parser from test_runner import TestRunnerFactory from utils.dovetail_config import DovetailConfig as dt_cfg import utils.dovetail_logger as dt_logger +import utils.dovetail_utils as dt_utils class Testcase(object): @@ -273,7 +274,10 @@ class Testcase(object): @classmethod def get_testcase_list(cls, testsuite, testarea): testcase_list = [] - for value in testsuite['testcases_list']: + testcases = dt_utils.get_value_from_dict('testcases_list', testsuite) + if not testcases: + return testcase_list + for value in testcases: for area in testarea: if value is not None and (area == 'full' or area in value): testcase_list.append(value) diff --git a/etc/compliance/proposed_tests.yml b/etc/compliance/proposed_tests.yml index 5a64bc3e..1e3d1127 100644 --- a/etc/compliance/proposed_tests.yml +++ b/etc/compliance/proposed_tests.yml @@ -3,14 +3,14 @@ proposed_tests: name: proposed_tests testcases_list: # proposed test cases for 2nd release - # smoke + # tempest - dovetail.tempest.compute - dovetail.tempest.identity_v2 - dovetail.tempest.identity_v3 - dovetail.tempest.image - dovetail.tempest.network - - dovetail.tempest.orchestration - dovetail.tempest.volume + - dovetail.tempest.neutron_trunk_ports # HA - dovetail.ha.controller_restart - dovetail.ha.rabbitmq @@ -18,11 +18,11 @@ proposed_tests: - dovetail.ha.database # vnf - dovetail.vnf.vims - # stress - - dovetail.stress.ping + # security + - dovetail.security.patrole # sdnvpn - dovetail.tempest.bgpvpn - # patrole - - dovetail.security.patrole - # Neutron trunk port Tempest tests - - dovetail.tempest.neutron_trunk_ports + # snaps + - dovetail.snaps.smoke + # stress + - dovetail.stress.ping |