diff options
Diffstat (limited to 'yardstick/benchmark/core/testcase.py')
-rw-r--r-- | yardstick/benchmark/core/testcase.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/yardstick/benchmark/core/testcase.py b/yardstick/benchmark/core/testcase.py index 7ab1b08cf..501356726 100644 --- a/yardstick/benchmark/core/testcase.py +++ b/yardstick/benchmark/core/testcase.py @@ -12,11 +12,11 @@ from __future__ import absolute_import from __future__ import print_function import os -import yaml import logging from yardstick.common.task_template import TaskTemplate from yardstick.common import constants as consts +from yardstick.common.yaml_loader import yaml_load LOG = logging.getLogger(__name__) @@ -69,7 +69,7 @@ class Testcase(object): def _parse_testcase(self, testcase_info): rendered_testcase = TaskTemplate.render(testcase_info) - testcase_cfg = yaml.safe_load(rendered_testcase) + testcase_cfg = yaml_load(rendered_testcase) test_precondition = testcase_cfg.get('precondition', {}) installer_type = test_precondition.get('installer_type', 'all') |