allow debug to be 'changed' (#20957)

* allow debug to be 'changed'

fixes #14430

* removed test that checked against this
pull/20987/head
Brian Coca 9 years ago committed by GitHub
parent d87fc9605f
commit 6ca5fb49c3

@ -192,8 +192,6 @@ class CallbackBase:
del result._result['results']
def _clean_results(self, result, task_name):
if 'changed' in result and task_name in ['debug']:
del result['changed']
if 'invocation' in result and task_name in ['debug']:
del result['invocation']

@ -76,8 +76,6 @@ class TestCallbackResults(unittest.TestCase):
self.assertTrue('changed' in result)
self.assertTrue('invocation' in result)
cb._clean_results(result, 'debug')
self.assertFalse('changed' in result)
self.assertFalse('invocation' in result)
class TestCallbackDumpResults(unittest.TestCase):

Loading…
Cancel
Save