summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-06-06 11:04:45 +0800
committerSerenaFeng <feng.xiaowei@zte.com.cn>2016-06-06 14:25:37 +0800
commit5db3cfed8a669e2ff405f846937e04a9b08630ac (patch)
tree2a0b3bcf192a4c66dfdcf33e4a2a6191e5c9bed1
parent4e1089f55f3b52ddbb2c38246027b58215004037 (diff)
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 <feng.xiaowei@zte.com.cn> Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
-rw-r--r--utils/test/result_collection_api/opnfv_testapi/dashboard/dashboard_utils.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/utils/test/result_collection_api/opnfv_testapi/dashboard/dashboard_utils.py b/utils/test/result_collection_api/opnfv_testapi/dashboard/dashboard_utils.py
index f331e28cd..121875d02 100644
--- a/utils/test/result_collection_api/opnfv_testapi/dashboard/dashboard_utils.py
+++ b/utils/test/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 <Project>
- # is performed in the <Project>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