mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Updating result values to be None for test cases.
This commit is contained in:
parent
003f2d9323
commit
fda41ede76
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user