From 3dcb23a39f6fdc6bf46640b3b7071813265442a1 Mon Sep 17 00:00:00 2001 From: Eike Waldt Date: Thu, 14 May 2020 09:57:01 +0200 Subject: [PATCH] add tests for parameters sbd watchdog and msgwait timeouts 4 --- tests/unit/modules/test_crmshmod.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/unit/modules/test_crmshmod.py b/tests/unit/modules/test_crmshmod.py index 9d42f285..07521a99 100644 --- a/tests/unit/modules/test_crmshmod.py +++ b/tests/unit/modules/test_crmshmod.py @@ -415,8 +415,7 @@ def test_manage_sbd_workaround(self): mock_file_replace = MagicMock(return_code=0) with patch.dict(crmshmod.__salt__, { - 'cmd.retcode': mock_cmd_run, - 'file.replace': mock_file_replace}): + 'cmd.retcode': mock_cmd_run}: sbd, devs = crmshmod._manage_sbd(True, ['disk1', 'disk2'], '10', '20') mock_cmd_run.assert_has_calls([