Add test on arbitrary output dict in action

Change-Id: I3cf0453638014fc53bd3005e434c6160f75d0cb0
This commit is contained in:
Nikolay Mahotkin 2014-05-07 14:09:38 +04:00
parent c37061ca5e
commit 116488a60a
2 changed files with 8 additions and 3 deletions

View File

@ -21,7 +21,8 @@ Namespaces:
parameters: parameters:
- full_name - full_name
output: output:
greeting: $ greeting:
greet_message: $
Workflow: Workflow:

View File

@ -304,10 +304,14 @@ class DataFlowTest(base.EngineTestCase):
build_greeting_task['parameters']) build_greeting_task['parameters'])
self.assertDictEqual( self.assertDictEqual(
{ {
'greet_msg': 'Hello, John Doe!', 'greet_msg': {
'greet_message': 'Hello, John Doe!'
},
'task': { 'task': {
'build_greeting': { 'build_greeting': {
'greeting': 'Hello, John Doe!', 'greeting': {
'greet_message': 'Hello, John Doe!'
},
} }
} }
}, },