diff options
Diffstat (limited to 'test/units/plugins')
-rw-r--r-- | test/units/plugins/action/test_raw.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/units/plugins/action/test_raw.py b/test/units/plugins/action/test_raw.py index 68cdb231a2..9413fdfb15 100644 --- a/test/units/plugins/action/test_raw.py +++ b/test/units/plugins/action/test_raw.py @@ -36,18 +36,14 @@ class TestCopyResultExclude(unittest.TestCase): def tearDown(self): pass - def _build_task(self, params=None): + def _build_task(self): task = MagicMock(Task) task.async_val = False task.diff = False task.check_mode = False task.environment = None - - if params is None: - task.args = {'_raw_params': 'Args1'} - else: - task.args = params + task.args = {'_raw_params': 'Args1'} return task # The current behavior of the raw aciton in regards to executable is currently in question; |