From 834f81f0ad708b930f66aec1fd8b36e2cfb8b32b Mon Sep 17 00:00:00 2001 From: SerenaFeng Date: Wed, 31 Aug 2016 10:37:15 +0800 Subject: delete useless FUNCTEST_REPO variable FUNCTEST_REPO appears in lots of feature testcases, but never be used, delete it clean the code JIRA: FUNCTEST-448 Change-Id: I4a9a10eac29e09b481563ed2c33f4122dd9ee3de Signed-off-by: SerenaFeng --- testcases/features/copper.py | 1 - testcases/features/doctor.py | 1 - testcases/features/domino.py | 1 - testcases/features/promise.py | 1 - testcases/vnf/vRNC/parser.py | 1 - 5 files changed, 5 deletions(-) diff --git a/testcases/features/copper.py b/testcases/features/copper.py index c312643eb..c79754a1b 100755 --- a/testcases/features/copper.py +++ b/testcases/features/copper.py @@ -32,7 +32,6 @@ with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f: functest_yaml = yaml.safe_load(f) dirs = functest_yaml.get('general').get('directories') -FUNCTEST_REPO = dirs.get('dir_repo_functest') COPPER_REPO = dirs.get('dir_repo_copper') logger = ft_logger.Logger("copper").getLogger() diff --git a/testcases/features/doctor.py b/testcases/features/doctor.py index 154cfc695..02edd25ca 100755 --- a/testcases/features/doctor.py +++ b/testcases/features/doctor.py @@ -31,7 +31,6 @@ with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f: functest_yaml = yaml.safe_load(f) dirs = functest_yaml.get('general').get('directories') -FUNCTEST_REPO = dirs.get('dir_repo_functest') DOCTOR_REPO = dirs.get('dir_repo_doctor') logger = ft_logger.Logger("doctor").getLogger() diff --git a/testcases/features/domino.py b/testcases/features/domino.py index 03ad4a2af..291a3b49b 100755 --- a/testcases/features/domino.py +++ b/testcases/features/domino.py @@ -33,7 +33,6 @@ with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f: functest_yaml = yaml.safe_load(f) dirs = functest_yaml.get('general').get('directories') -FUNCTEST_REPO = dirs.get('dir_repo_functest') DOMINO_REPO = dirs.get('dir_repo_domino') logger = ft_logger.Logger("domino").getLogger() diff --git a/testcases/features/promise.py b/testcases/features/promise.py index f5db02617..3728adfe5 100755 --- a/testcases/features/promise.py +++ b/testcases/features/promise.py @@ -36,7 +36,6 @@ with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f: functest_yaml = yaml.safe_load(f) dirs = functest_yaml.get('general').get('directories') -FUNCTEST_REPO = dirs.get('dir_repo_functest') PROMISE_REPO = dirs.get('dir_repo_promise') TEST_DB = functest_yaml.get('results').get('test_db_url') diff --git a/testcases/vnf/vRNC/parser.py b/testcases/vnf/vRNC/parser.py index 40d28c49f..00593b0b0 100755 --- a/testcases/vnf/vRNC/parser.py +++ b/testcases/vnf/vRNC/parser.py @@ -32,7 +32,6 @@ with open(os.environ["CONFIG_FUNCTEST_YAML"]) as f: functest_yaml = yaml.safe_load(f) dirs = functest_yaml.get('general').get('directories') -FUNCTEST_REPO = dirs.get('dir_repo_functest') PARSER_REPO = dirs.get('dir_repo_parser') logger = ft_logger.Logger("parser").getLogger() -- cgit 1.2.3-korg