From ea9193364e81ff0bcd137033c4611f36ca2937ab Mon Sep 17 00:00:00 2001 From: Xiao75896453 <47842610+Xiao75896453@users.noreply.github.com> Date: Mon, 21 Aug 2023 19:37:44 +0800 Subject: [PATCH] fix(tests): modify the arg of commit from add to all --- tests/commands/test_commit_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/commands/test_commit_command.py b/tests/commands/test_commit_command.py index c386c9775..b48ac9d0e 100644 --- a/tests/commands/test_commit_command.py +++ b/tests/commands/test_commit_command.py @@ -273,6 +273,6 @@ def test_commit_command_with_all_option(config, mocker: MockFixture): commit_mock.return_value = cmd.Command("success", "", b"", b"", 0) success_mock = mocker.patch("commitizen.out.success") add_mock = mocker.patch("commitizen.git.add") - commands.Commit(config, {"add": True})() + commands.Commit(config, {"all": True})() add_mock.assert_called() success_mock.assert_called_once()