Merge "Switch to the new Rally API"

This commit is contained in:
Jenkins 2015-02-04 11:06:28 +00:00 committed by Gerrit Code Review
commit 17d2702458

View File

@ -51,7 +51,7 @@ class RallyJobsTestCase(test.TestCase):
"args file %s must be dict in yaml or json "
"presenatation" % args_file)
task = api.task_template_render(task_file.read(), **args)
task = api.Task.render_template(task_file.read(), **args)
task = yaml.safe_load(task)
eng = engine.BenchmarkEngine(task, mock.MagicMock())