aboutsummaryrefslogtreecommitdiffstats
path: root/functest
diff options
context:
space:
mode:
authorAlex Yang <yangyang1@zte.com.cn>2017-08-18 15:05:14 +0800
committerAlex Yang <yangyang1@zte.com.cn>2017-08-18 15:05:14 +0800
commit3f207c0385df09e5269c5d17046c32a0cda46c41 (patch)
tree408e8c1b9420ba30b59d07460175ac050f29e93f /functest
parent0e919a00c9fa4827af77731fffb0fc5dccc1f16c (diff)
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 <yangyang1@zte.com.cn>
Diffstat (limited to 'functest')
-rw-r--r--functest/ci/run_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py
index e26f4305..38abe40c 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):