summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJose Lausuch <jose.lausuch@ericsson.com>2016-12-21 08:30:51 +0000
committerGerrit Code Review <gerrit@opnfv.org>2016-12-21 08:30:51 +0000
commit266e29ce1eb02bf8f97ada361d759d41567cce73 (patch)
treeb146b65d299e3d0bad82d8d76a9a09e91047e577
parent52c088c85470057ffc4f974a98b74a9f6ec62f40 (diff)
parent5be6e280df0a9affa4c05483708f94e97be4f391 (diff)
Merge "Add default env variables in ENV class"
-rw-r--r--functest/utils/env.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/functest/utils/env.py b/functest/utils/env.py
index b6af767da..86b2be3dc 100644
--- a/functest/utils/env.py
+++ b/functest/utils/env.py
@@ -2,11 +2,17 @@ import os
default_envs = {
'NODE_NAME': 'unknown_pod',
- 'CI_DEBUG': 'true'
+ 'CI_DEBUG': 'true',
+ 'DEPLOY_SCENARIO': 'os-nosdn-nofeature-noha',
+ 'DEPLOY_TYPE': 'virt',
+ 'INSTALLER_TYPE': None,
+ 'INSTALLER_IP': None,
+ 'BUILD_TAG': None
}
class Environment(object):
+
def __init__(self):
for k, v in os.environ.iteritems():
self.__setattr__(k, v)