File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 44import pytest
55from pytest_mock import MockerFixture , MockType
66
7- from commitizen import defaults
8- from commitizen .config import BaseConfig
97from commitizen .config .json_config import JsonConfig
108
119
12- @pytest .fixture
13- def config () -> BaseConfig :
14- _config = BaseConfig ()
15- _config .settings .update ({"name" : defaults .DEFAULT_SETTINGS ["name" ]})
16- return _config
17-
18-
1910@pytest .fixture
2011def config_customize () -> JsonConfig :
2112 json_string = r"""{
@@ -50,11 +41,6 @@ def changelog_path() -> str:
5041 return os .path .join (os .getcwd (), "CHANGELOG.md" )
5142
5243
53- @pytest .fixture
54- def config_path () -> str :
55- return os .path .join (os .getcwd (), "pyproject.toml" )
56-
57-
5844@pytest .fixture
5945def success_mock (mocker : MockerFixture ) -> MockType :
6046 return mocker .patch ("commitizen.out.success" )
You can’t perform that action at this time.
0 commit comments