@@ -71,8 +71,8 @@ def test_bump_minor_increment_annotated(commit_msg, mocker):
71
71
72
72
73
73
@pytest .mark .parametrize ("commit_msg" , ("feat: new file" , "feat(user): new file" ))
74
- @pytest .mark .usefixtures ("tmp_commitizen_project " )
75
- def test_bump_minor_increment_annotated (commit_msg , mocker ):
74
+ @pytest .mark .usefixtures ("tmp_commitizen_project_with_gpg " )
75
+ def test_bump_minor_increment_signed (commit_msg , mocker ):
76
76
create_file_and_commit (commit_msg )
77
77
testargs = ["cz" , "bump" , "--yes" , "--signed-tag" ]
78
78
mocker .patch .object (sys , "argv" , testargs )
@@ -107,9 +107,9 @@ def test_bump_minor_increment_annotated_config_file(
107
107
108
108
@pytest .mark .parametrize ("commit_msg" , ("feat: new file" , "feat(user): new file" ))
109
109
def test_bump_minor_increment_signed_config_file (
110
- commit_msg , mocker , tmp_commitizen_project
110
+ commit_msg , mocker , tmp_commitizen_project_with_gpg
111
111
):
112
- tmp_commitizen_cfg_file = tmp_commitizen_project .join ("pyproject.toml" )
112
+ tmp_commitizen_cfg_file = tmp_commitizen_project_with_gpg .join ("pyproject.toml" )
113
113
tmp_commitizen_cfg_file .write (
114
114
f"{ tmp_commitizen_cfg_file .read ()} \n " f"signed_tag = 1"
115
115
)
0 commit comments