allow debug to be 'changed' (#20957)

* allow debug to be 'changed'

fixes #14430

* removed test that checked against this
This commit is contained in:
Brian Coca 2017-02-02 13:46:16 -05:00 committed by GitHub
parent d87fc9605f
commit 6ca5fb49c3
2 changed files with 0 additions and 4 deletions

View file

@ -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']

View file

@ -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):