X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=functest%2Futils%2Fenv.py;h=ed09d9f021b00f38c629bd848ccbdbe0002daebf;hb=refs%2Fchanges%2F69%2F52469%2F2;hp=e75b17d1a48d67a2a22b075f46351d80d3e6ccca;hpb=d701e9737f83ff29faba830df426b5a75c9746b1;p=functest.git diff --git a/functest/utils/env.py b/functest/utils/env.py index e75b17d1a..ed09d9f02 100644 --- a/functest/utils/env.py +++ b/functest/utils/env.py @@ -11,8 +11,6 @@ import os -import six - INPUTS = { 'EXTERNAL_NETWORK': None, 'CI_LOOP': 'daily', @@ -33,14 +31,3 @@ def get(env_var): if env_var not in INPUTS.keys(): return os.environ.get(env_var, None) return os.environ.get(env_var, INPUTS[env_var]) - - -class Environment(object): # pylint: disable=too-few-public-methods - - # Backward compatibility (waiting for SDNVPN and SFC) - def __init__(self): - for key, _ in six.iteritems(INPUTS): - setattr(self, key, get(key)) - -# Backward compatibility (waiting for SDNVPN and SFC) -ENV = Environment()