aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-12-18 07:38:31 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-12-18 07:38:31 +0000
commit0d71ebc2ddc07f92d1ca1901c3fec53ff1a3af84 (patch)
tree5ecfa2cb855b3a74a09d0644b93f60c8cf31d116 /functest/ci
parent62d12c838b7c008462b7c45731290c385ed98bff (diff)
parent6a2ee8883daf1795ec84fc2868c17c0723025447 (diff)
Merge "Inject all envs in openrc into CONST"
Diffstat (limited to 'functest/ci')
-rw-r--r--functest/ci/run_tests.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/functest/ci/run_tests.py b/functest/ci/run_tests.py
index 481931695..166dbfc9e 100644
--- a/functest/ci/run_tests.py
+++ b/functest/ci/run_tests.py
@@ -25,7 +25,6 @@ import textwrap
import pkg_resources
import prettytable
-import six
import functest.ci.tier_builder as tb
import functest.core.testcase as testcase
@@ -108,18 +107,6 @@ class Runner(object):
raise Exception("RC file %s does not exist..." % rc_file)
LOGGER.debug("Sourcing the OpenStack RC file...")
os_utils.source_credentials(rc_file)
- for key, value in six.iteritems(os.environ):
- if re.search("OS_", key):
- if key == 'OS_AUTH_URL':
- CONST.__setattr__('OS_AUTH_URL', value)
- elif key == 'OS_USERNAME':
- CONST.__setattr__('OS_USERNAME', value)
- elif key == 'OS_TENANT_NAME':
- 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):