Switch from CONST to CONF
[functest.git] / functest / utils / functest_utils.py
index 72c9d20..38a60d4 100644 (file)
@@ -157,13 +157,13 @@ def get_parameter_from_yaml(parameter, yfile):
 
 
 def get_functest_config(parameter):
-    yaml_ = constants.Constants.CONFIG_FUNCTEST_YAML
+    yaml_ = constants.CONFIG_FUNCTEST_YAML
     return get_parameter_from_yaml(parameter, yaml_)
 
 
 def get_functest_yaml():
     # pylint: disable=bad-continuation
-    with open(constants.Constants.CONFIG_FUNCTEST_YAML) as yaml_fd:
+    with open(constants.CONFIG_FUNCTEST_YAML) as yaml_fd:
         functest_yaml = yaml.safe_load(yaml_fd)
     return functest_yaml