Skip to content

Commit 2bf5106

Browse files
committed
Dev: unittest: Adjust unit test for previous commit
1 parent 007d524 commit 2bf5106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unittests/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1151,7 +1151,7 @@ def test_set_property(mock_get, mock_run, mock_warn):
11511151
mock_get.return_value = "start"
11521152
utils.set_property("no-quorum-policy", "stop")
11531153
mock_run.assert_called_once_with("crm configure property no-quorum-policy=stop")
1154-
mock_warn.assert_called_once_with('"no-quorum-policy" in crm_config is set to stop, it was start')
1154+
mock_warn.assert_called_once_with('"%s" in %s is set to %s, it was %s', 'no-quorum-policy', 'crm_config', 'stop', 'start')
11551155

11561156

11571157
@mock.patch('crmsh.utils.get_property')

0 commit comments

Comments
 (0)