diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2017-12-18 07:38:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-12-18 07:38:31 +0000 |
commit | 0d71ebc2ddc07f92d1ca1901c3fec53ff1a3af84 (patch) | |
tree | 5ecfa2cb855b3a74a09d0644b93f60c8cf31d116 /functest/utils | |
parent | 62d12c838b7c008462b7c45731290c385ed98bff (diff) | |
parent | 6a2ee8883daf1795ec84fc2868c17c0723025447 (diff) |
Merge "Inject all envs in openrc into CONST"
Diffstat (limited to 'functest/utils')
-rw-r--r-- | functest/utils/openstack_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/utils/openstack_utils.py b/functest/utils/openstack_utils.py index b479198d..1d7cdafb 100644 --- a/functest/utils/openstack_utils.py +++ b/functest/utils/openstack_utils.py @@ -127,6 +127,7 @@ def source_credentials(rc_file): key = re.sub(r'^["\' ]*|[ \'"]*$', '', var[0]) value = re.sub(r'^["\' ]*|[ \'"]*$', '', "".join(var[1:])) os.environ[key] = value + CONST.__setattr__(key, value) def get_session_auth(other_creds={}): |