diff --git a/tests/unit/modules/test_crmshmod.py b/tests/unit/modules/test_crmshmod.py index 69ef420a..9d42f285 100644 --- a/tests/unit/modules/test_crmshmod.py +++ b/tests/unit/modules/test_crmshmod.py @@ -467,7 +467,7 @@ def test_cluster_init_crm(self, crm_init, manage_sbd): with patch.dict(crmshmod.__salt__, {'crm.use_crm': True}): crm_init.return_value = 0 - value = crmshmod.cluster_init('hacluster', 'dog', 'eth1', sbd_dev=['disk1', 'disk2'], '10', '20') + value = crmshmod.cluster_init('hacluster', 'dog', 'eth1', sbd_dev=['disk1', 'disk2'], sbd_timeout_watchdog='10', sbd_timeout_msgwait='20') assert value == 0 crm_init.assert_called_once_with( 'hacluster', 'dog', 'eth1', None, None, 'sbd', 'devs', '10', '20', False, None) @@ -475,7 +475,7 @@ def test_cluster_init_crm(self, crm_init, manage_sbd): with patch.dict(crmshmod.__salt__, {'crm.use_crm': True}): crm_init.return_value = 0 - value = crmshmod.cluster_init('hacluster', 'dog', 'eth1', sbd_dev='disk1', '10', '20') + value = crmshmod.cluster_init('hacluster', 'dog', 'eth1', sbd_dev='disk1', sbd_timeout_watchdog='10', sbd_timeout_msgwait='20') assert value == 0 crm_init.assert_called_once_with( 'hacluster', 'dog', 'eth1', None, None, 'sbd', 'devs', '10', '20', False, None)