diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-12-22 10:53:36 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2016-12-22 19:28:12 +0800 |
commit | 2632ba86dd920267455ee10154b9e2ce4695a889 (patch) | |
tree | 32a9c96d6b5bb5db69d750976938faaa68695635 /functest/utils | |
parent | 62ffd8a7e6790ab0377550740d3cfe8eea298392 (diff) |
refactor cli module using new constants provider
JIRA: FUNCTEST-673
Change-Id: I643fb16c694a8d7df45a13237f34b19a02906881
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'functest/utils')
-rw-r--r-- | functest/utils/env.py | 3 | ||||
-rw-r--r-- | functest/utils/functest_constants.py | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/functest/utils/env.py b/functest/utils/env.py index 360f41d0..fa5245fb 100644 --- a/functest/utils/env.py +++ b/functest/utils/env.py @@ -9,7 +9,8 @@ default_envs = { 'INSTALLER_TYPE': None, 'INSTALLER_IP': None, 'BUILD_TAG': None, - 'OS_ENDPOINT_TYPE': None + 'OS_ENDPOINT_TYPE': None, + 'OS_AUTH_URL': None } diff --git a/functest/utils/functest_constants.py b/functest/utils/functest_constants.py index ae3e527f..dd2caf05 100644 --- a/functest/utils/functest_constants.py +++ b/functest/utils/functest_constants.py @@ -62,7 +62,7 @@ def get_value(functest_config_key, env_variable): HOME = get_value('general.dir.dir_home', 'HOME') -REPOS_DIR = get_value('general.dir.dir_repos', 'REPOS_DIR') +REPOS_DIR = get_value('general.dir.repos', 'REPOS_DIR') FUNCTEST_BASE_DIR = get_value('general.dir.functest', 'FUNCTEST_BASE_DIR') FUNCTEST_REPO_DIR = get_value('general.dir.repo_functest', |