Refactor task output: "wf_name" -> "workflow_name"

Change-Id: I616b61d0b1ce6f2a73cd49b4ccb02ea1c9d29a09
This commit is contained in:
Renat Akhmerov
2015-02-27 16:31:52 +06:00
parent f7b8b70daf
commit f6c03687f7
4 changed files with 5 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ from mistralclient.tests.unit import base
TASK_DICT = {
'id': '123',
'name': 'some',
'wf_name': 'thing',
'workflow_name': 'thing',
'execution_id': '321',
'state': 'RUNNING',
}

View File

@@ -23,7 +23,7 @@ TASK = {
'id': "1",
'execution_id': '123',
'name': 'my_task',
'wf_name': 'my_wf',
'workflow_name': 'my_wf',
'state': 'RUNNING',
'tags': ['deployment', 'demo']
}