allow debug to be 'changed' (#20957)
* allow debug to be 'changed' fixes #14430 * removed test that checked against this
This commit is contained in:
parent
d87fc9605f
commit
6ca5fb49c3
2 changed files with 0 additions and 4 deletions
|
@ -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…
Reference in a new issue