Updating result values to be None for test cases.

This commit is contained in:
Gareth J. Greenaway 2017-06-06 13:01:22 -07:00
parent 003f2d9323
commit fda41ede76

View File

@ -651,7 +651,7 @@ def runner(name, **kwargs):
if __opts__.get('test', False):
ret = {
'name': name,
'result': False,
'result': None,
'changes': {},
'comment': "Runner function '{0}' would be executed.".format(name)
}
@ -716,7 +716,8 @@ def wheel(name, **kwargs):
jid = None
if __opts__.get('test', False):
ret['result'] = False,
ret['result'] = None,
ret['changes'] = {}
ret['comment'] = "Wheel function '{0}' would be executed.".format(name)
return ret