Code Review
/
functest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
b69a7d6
)
Add default env variables in ENV class
05/26305/1
author
jose.lausuch
<jose.lausuch@ericsson.com>
Tue, 20 Dec 2016 15:03:23 +0000
(16:03 +0100)
committer
jose.lausuch
<jose.lausuch@ericsson.com>
Tue, 20 Dec 2016 15:03:23 +0000
(16:03 +0100)
Change-Id: Ibca9c7a533796b5a2beae4e13b626f340969a567
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
functest/utils/env.py
patch
|
blob
|
history
diff --git
a/functest/utils/env.py
b/functest/utils/env.py
index
b6af767
..
86b2be3
100644
(file)
--- 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)