delete useless FUNCTEST_REPO variable 85/19985/1
authorSerenaFeng <feng.xiaowei@zte.com.cn>
Wed, 31 Aug 2016 02:37:15 +0000 (10:37 +0800)
committerMorgan Richomme <morgan.richomme@orange.com>
Wed, 31 Aug 2016 12:12:58 +0000 (12:12 +0000)
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)

testcases/features/copper.py
testcases/features/doctor.py
testcases/features/domino.py
testcases/features/promise.py
testcases/vnf/vRNC/parser.py

index c312643..c79754a 100755 (executable)
@@ -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()
index 154cfc6..02edd25 100755 (executable)
@@ -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()
index 03ad4a2..291a3b4 100755 (executable)
@@ -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()
index f5db026..3728adf 100755 (executable)
@@ -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')
 
index 40d28c4..00593b0 100755 (executable)
@@ -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()