From: Alex Yang Date: Fri, 18 Aug 2017 07:05:14 +0000 (+0800) Subject: Put domain name in CONST X-Git-Tag: opnfv-5.0.RC1~189^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=3f207c0385df09e5269c5d17046c32a0cda46c41;p=functest.git Put domain name in CONST Domain name is not obtained in source_rc_file() but used in the patch https://gerrit.opnfv.org/gerrit/#/c/39109/. Change-Id: Iceaf352f7ad5e15f15906f0e3aa1c5ab5ae30a42 Signed-off-by: Alex Yang --- diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py index e26f43051..38abe40cf 100644 --- a/functest/ci/run_tests.py +++ b/functest/ci/run_tests.py @@ -92,6 +92,8 @@ class Runner(object): CONST.__setattr__('OS_TENANT_NAME', value) elif key == 'OS_PASSWORD': CONST.__setattr__('OS_PASSWORD', value) + elif key == "OS_PROJECT_DOMAIN_NAME": + CONST.__setattr__('OS_PROJECT_DOMAIN_NAME', value) @staticmethod def get_run_dict(testname):