From e1bcb8a534a7144da937bc658d5a59f1de24dd0f Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 3 Jan 2024 14:29:38 -0800 Subject: Remove unused unit test code --- test/units/plugins/action/test_raw.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'test/units/plugins') 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; -- cgit v1.2.3