Skip to content

Commit 12e529a

Browse files
committed
test: remove duplicated fixture
1 parent bc1542c commit 12e529a

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/commands/conftest.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,9 @@
44
import pytest
55
from pytest_mock import MockerFixture, MockType
66

7-
from commitizen import defaults
8-
from commitizen.config import BaseConfig
97
from 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
2011
def 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
5945
def success_mock(mocker: MockerFixture) -> MockType:
6046
return mocker.patch("commitizen.out.success")

0 commit comments

Comments
 (0)