aboutsummaryrefslogtreecommitdiffstats
path: root/functest/utils
diff options
context:
space:
mode:
Diffstat (limited to 'functest/utils')
-rw-r--r--functest/utils/config.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/functest/utils/config.py b/functest/utils/config.py
index d91f63ac..6bb4f58e 100644
--- a/functest/utils/config.py
+++ b/functest/utils/config.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
-import os
import yaml
import six
@@ -16,7 +15,6 @@ class Config(object):
self._parse(None, self.functest_yaml)
except Exception as error:
raise Exception('Parse config failed: {}'.format(str(error)))
- self._set_others()
def _parse(self, attr_now, left_parametes):
for param_n, param_v in six.iteritems(left_parametes):
@@ -30,8 +28,5 @@ class Config(object):
return attr_now if next == 'general' else (
'{}_{}'.format(attr_now, next) if attr_now else next)
- def _set_others(self):
- self.env_active = os.path.join(self.dir_functest_conf, "env_active")
-
CONF = Config()