We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f91f2ac commit 0f729c4Copy full SHA for 0f729c4
tests/commands/test_bump_command.py
@@ -853,16 +853,12 @@ def test_bump_manual_version_disallows_major_version_zero(util: UtilFixture):
853
)
854
def test_bump_version_with_less_components_in_config(
855
tmp_commitizen_project_initial,
856
- mocker: MockFixture,
857
initial_version,
858
expected_version_after_bump,
+ util: UtilFixture,
859
):
860
tmp_commitizen_project = tmp_commitizen_project_initial(version=initial_version)
861
-
862
- testargs = ["cz", "bump", "--yes"]
863
- mocker.patch.object(sys, "argv", testargs)
864
865
- cli.main()
+ util.run_cli("bump", "--yes")
866
867
tag_exists = git.tag_exist(expected_version_after_bump)
868
assert tag_exists is True
0 commit comments