From 4fb5c1ca8deb15d308d3bb7b89931770171f8d4f Mon Sep 17 00:00:00 2001 From: Morgan Richomme Date: Fri, 27 Nov 2015 09:41:01 +0100 Subject: Clean Functest repo, dashboard fully migrated to Releng JIRA: RELENG-7 Change-Id: Iddbed5922097a54ba0d56ce59b8ab93264e90603 Signed-off-by: Morgan Richomme --- testcases/Dashboard/tempest2Dashboard.py | 52 -------------------------------- 1 file changed, 52 deletions(-) delete mode 100644 testcases/Dashboard/tempest2Dashboard.py (limited to 'testcases/Dashboard/tempest2Dashboard.py') diff --git a/testcases/Dashboard/tempest2Dashboard.py b/testcases/Dashboard/tempest2Dashboard.py deleted file mode 100644 index 8cbecbbc8..000000000 --- a/testcases/Dashboard/tempest2Dashboard.py +++ /dev/null @@ -1,52 +0,0 @@ -#!/usr/bin/python -# -# Copyright (c) 2015 Orange -# morgan.richomme@orange.com -# -# This program and the accompanying materials -# are made available under the terms of the Apache License, Version 2.0 -# which accompanies this distribution, and is available at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# This script is used to build json files for the dashboard -# for the tempest test case -# -# v0.1: basic example -# -import logging -import argparse -import pprint -# import json -# import dashboard_utils -import os -import yaml - -pp = pprint.PrettyPrinter(indent=4) - -parser = argparse.ArgumentParser() -parser.add_argument("repo_path", help="Path to the repository") -parser.add_argument("-d", "--debug", help="Debug mode", action="store_true") -args = parser.parse_args() - -""" logging configuration """ -logger = logging.getLogger('config_functest') -logger.setLevel(logging.DEBUG) - -if not os.path.exists(args.repo_path): - logger.error("Repo directory not found '%s'" % args.repo_path) - exit(-1) - -with open(args.repo_path+"testcases/config_functest.yaml") as f: - functest_yaml = yaml.safe_load(f) -f.close() - -""" global variables """ -# Directories -HOME = os.environ['HOME']+"/" -REPO_PATH = args.repo_path -TEST_DB = functest_yaml.get("results").get("test_db_url") - - -def format_tempest_for_dashboard(criteria): - logger.debug("generate dashboard json files for Tempest") -- cgit 1.2.3-korg ref='/yardstick/tree/ansible/roles/download_samplevnfs/defaults/main.yml?h=stable/gambia&id=74561e3250400332a404f4d53acc3e1db8ed9b6e'>treecommitdiffstats
blob: 44449af6fb895c03149e9f4cc00063d9993a1b5e (plain)
1
2
3
4
5
6