From a1feb930e618a14c60303acdfb055516fcc92b54 Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Mon, 6 Jun 2016 11:04:45 +0800 Subject: remove useless method get_dashboard_cases() in testAPI remove get_dashboard_cases() method in dashboard_utils.py JIRA: FUNCTEST-295 Change-Id: Id450f3d9c2b4870a0a9da42abd536a412ac25323 signed-off-by: SerenaFeng Signed-off-by: SerenaFeng --- .../opnfv_testapi/dashboard/dashboard_utils.py | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'result_collection_api') diff --git a/result_collection_api/opnfv_testapi/dashboard/dashboard_utils.py b/result_collection_api/opnfv_testapi/dashboard/dashboard_utils.py index f331e28..121875d 100644 --- a/result_collection_api/opnfv_testapi/dashboard/dashboard_utils.py +++ b/result_collection_api/opnfv_testapi/dashboard/dashboard_utils.py @@ -51,22 +51,6 @@ def check_dashboard_ready_case(project, case): return eval(cmd) -def get_dashboard_cases(): - # Retrieve all the test cases that could provide - # Dashboard ready graphs - # look in the releng repo - # search all the project2Dashboard.py files - # we assume that dashboard processing of project - # is performed in the 2Dashboard.py file - modules = [] - cp = re.compile('dashboard.*2Dashboard') - for module in sys.modules: - if re.match(cp, module): - modules.append(module) - - return modules - - def get_dashboard_projects(): # Retrieve all the projects that could provide # Dashboard ready graphs -- cgit 1.2.3-korg