Switch to the new Rally API
Use the new API classes in CLI and other parts of Rally code (still leaving old API methods for compability). ToDo in next patches: * Remove old API methods * add get(), list() methods to API. Change-Id: I1eca518bca8b383e3e6ce05e99251c2d954f1b4e
This commit is contained in:
parent
f42faded0f
commit
a37341667e
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user