@@ -88,7 +88,7 @@ def test_commit_retry_works(config, mocker: MockFixture):
8888
8989 commands .Commit (config , {"retry" : True })()
9090
91- commit_mock .assert_called_with ("feat: user created\n \n closes #21" , extra_args = "" )
91+ commit_mock .assert_called_with ("feat: user created\n \n closes #21" , args = "" )
9292 prompt_mock .assert_called_once ()
9393 success_mock .assert_called_once ()
9494 assert not os .path .isfile (temp_file )
@@ -174,7 +174,7 @@ def test_commit_command_with_signoff_option(config, mocker: MockFixture):
174174
175175 commands .Commit (config , {"signoff" : True })()
176176
177- commit_mock .assert_called_once_with (ANY , extra_args = "-- -s" )
177+ commit_mock .assert_called_once_with (ANY , args = "-- -s" )
178178 success_mock .assert_called_once ()
179179
180180
@@ -197,7 +197,7 @@ def test_commit_command_with_always_signoff_enabled(config, mocker: MockFixture)
197197 config .settings ["always_signoff" ] = True
198198 commands .Commit (config , {})()
199199
200- commit_mock .assert_called_once_with (ANY , extra_args = "-- -s" )
200+ commit_mock .assert_called_once_with (ANY , args = "-- -s" )
201201 success_mock .assert_called_once ()
202202
203203
@@ -294,5 +294,5 @@ def test_commit_command_with_extra_args(config, mocker: MockFixture):
294294 commit_mock .return_value = cmd .Command ("success" , "" , b"" , b"" , 0 )
295295 success_mock = mocker .patch ("commitizen.out.success" )
296296 commands .Commit (config , {"extra_cli_args" : "-- -extra-args1 -extra-arg2" })()
297- commit_mock .assert_called_once_with (ANY , extra_args = "-- -extra-args1 -extra-arg2" )
297+ commit_mock .assert_called_once_with (ANY , args = "-- -extra-args1 -extra-arg2" )
298298 success_mock .assert_called_once ()
0 commit comments