Change yaml_load_template to get_devops_config
If we using default_devops_templates we should use relative path and get_devops_config function help's with this Change-Id: I2bfc9ddaaa28d416c26a7cd659ee117fe9f124f9
This commit is contained in:
parent
1617b0db14
commit
5ba504ac03
@ -16,7 +16,7 @@ import os
|
||||
import time
|
||||
|
||||
from devops.helpers.helpers import wait
|
||||
from devops.helpers.templates import yaml_template_load
|
||||
from devops.helpers.templates import get_devops_config
|
||||
|
||||
from proboscis import TestProgram
|
||||
from proboscis import SkipTest
|
||||
@ -88,7 +88,7 @@ class TestBasic(object):
|
||||
# hack before we find proper solution for loading devops templates
|
||||
external_config = os.environ.get("DEVOPS_SETTINGS_TEMPLATE", None)
|
||||
if external_config:
|
||||
config = yaml_template_load(external_config)
|
||||
config = get_devops_config(external_config)
|
||||
else:
|
||||
config = self._devops_config
|
||||
self.__env = EnvironmentModel(config)
|
||||
|
Loading…
Reference in New Issue
Block a user