aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-12-20 16:03:23 +0100
committerjose.lausuch <jose.lausuch@ericsson.com>2016-12-20 16:03:23 +0100
commit5be6e280df0a9affa4c05483708f94e97be4f391 (patch)
treec6d058f2af35fdea0f5590a3d31c561e649ffd53
parentb69a7d6b3cbcceedb0f1f37f736a593fd77fc0be (diff)
Add default env variables in ENV class
Change-Id: Ibca9c7a533796b5a2beae4e13b626f340969a567 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
-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)