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

This commit is contained in:
Jenkins
2015-03-04 09:56:17 +00:00
committed by Gerrit Code Review
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']
}