From 5be6e280df0a9affa4c05483708f94e97be4f391 Mon Sep 17 00:00:00 2001 From: "jose.lausuch" Date: Tue, 20 Dec 2016 16:03:23 +0100 Subject: Add default env variables in ENV class Change-Id: Ibca9c7a533796b5a2beae4e13b626f340969a567 Signed-off-by: jose.lausuch --- functest/utils/env.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'functest/utils/env.py') diff --git a/functest/utils/env.py b/functest/utils/env.py index b6af767d..86b2be3d 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) -- cgit 1.2.3-korg