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

@@ -7,4 +7,6 @@ Kirill Izotov <enykeev@stackstorm.com>
Leandro I. Costantino <leandro.i.costantino@intel.com>
Nikolay Mahotkin <nmakhotkin@mirantis.com>
Renat Akhmerov <rakhmerov@mirantis.com>
Tetiana Lashchova <tlashchova@mirantis.com>
Timur Nurlygayanov <tnurlygayanov@mirantis.com>
Winson Chan <wcchan@stackstorm.com>

View File

@@ -39,7 +39,7 @@ def format(task=None):
data = (
task.id,
task.name,
task.wf_name,
task.workflow_name,
task.execution_id,
task.state,
)

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']
}