Skip to content

Commit 90c13b3

Browse files
committed
Dev: unittest: Adjust unit test for previous commit
1 parent 732a371 commit 90c13b3

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
@@ -1733,7 +1733,7 @@ def test_set_property(mock_get, mock_run, mock_warn):
17331733
mock_get.return_value = "start"
17341734
utils.set_property("no-quorum-policy", "stop")
17351735
mock_run.assert_called_once_with("crm configure property no-quorum-policy=stop")
1736-
mock_warn.assert_called_once_with('"no-quorum-policy" in crm_config is set to stop, it was start')
1736+
mock_warn.assert_called_once_with('"%s" in %s is set to %s, it was %s', 'no-quorum-policy', 'crm_config', 'stop', 'start')
17371737

17381738

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

0 commit comments

Comments
 (0)