@@ -88,7 +88,7 @@ def test_commit_retry_works(config, mocker: MockFixture):
88
88
89
89
commands .Commit (config , {"retry" : True })()
90
90
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 = "" )
92
92
prompt_mock .assert_called_once ()
93
93
success_mock .assert_called_once ()
94
94
assert not os .path .isfile (temp_file )
@@ -174,7 +174,7 @@ def test_commit_command_with_signoff_option(config, mocker: MockFixture):
174
174
175
175
commands .Commit (config , {"signoff" : True })()
176
176
177
- commit_mock .assert_called_once_with (ANY , extra_args = "-- -s" )
177
+ commit_mock .assert_called_once_with (ANY , args = "-- -s" )
178
178
success_mock .assert_called_once ()
179
179
180
180
@@ -197,7 +197,7 @@ def test_commit_command_with_always_signoff_enabled(config, mocker: MockFixture)
197
197
config .settings ["always_signoff" ] = True
198
198
commands .Commit (config , {})()
199
199
200
- commit_mock .assert_called_once_with (ANY , extra_args = "-- -s" )
200
+ commit_mock .assert_called_once_with (ANY , args = "-- -s" )
201
201
success_mock .assert_called_once ()
202
202
203
203
@@ -294,5 +294,5 @@ def test_commit_command_with_extra_args(config, mocker: MockFixture):
294
294
commit_mock .return_value = cmd .Command ("success" , "" , b"" , b"" , 0 )
295
295
success_mock = mocker .patch ("commitizen.out.success" )
296
296
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" )
298
298
success_mock .assert_called_once ()
0 commit comments