test: Clean up path fixtures · commitizen-tools/commitizen@c780f4e

Original file line numberDiff line numberDiff line change

@@ -44,10 +44,5 @@ def config_customize():

4444
4545
4646

@pytest.fixture()

47-

def changelog_path() -> str:

47+

def changelog_path(tmp_commitizen_project) -> str:

4848

return os.path.join(os.getcwd(), "CHANGELOG.md")

49-
50-
51-

@pytest.fixture()

52-

def config_path() -> str:

53-

return os.path.join(os.getcwd(), "pyproject.toml")