aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerenaFeng <feng.xiaowei@zte.com.cn>2016-08-31 10:37:15 +0800
committerMorgan Richomme <morgan.richomme@orange.com>2016-08-31 12:12:58 +0000
commit34947aa5d4ea991f20c94c5216a2f6a01cbfa37f (patch)
treeac46e7cc58676c74d96d8c90c8c7b6fef57581e6
parente1e7df116a329d82e91dde154871decd7fce2302 (diff)
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 <feng.xiaowei@zte.com.cn> (cherry picked from commit 834f81f0ad708b930f66aec1fd8b36e2cfb8b32b)
-rwxr-xr-xtestcases/features/copper.py1
-rwxr-xr-xtestcases/features/doctor.py1
-rwxr-xr-xtestcases/features/domino.py1
-rwxr-xr-xtestcases/features/promise.py1
-rwxr-xr-xtestcases/vnf/vRNC/parser.py1
5 files changed, 0 insertions, 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()