MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / tmp_git_project

Function tmp_git_project

tests/conftest.py:77–81  ·  view source on GitHub ↗
(tmp_path: Path, monkeypatch: pytest.MonkeyPatch)

Source from the content-addressed store, hash-verified

75
76@pytest.fixture
77def tmp_git_project(tmp_path: Path, monkeypatch: pytest.MonkeyPatch):
78 monkeypatch.chdir(tmp_path)
79 cmd.run(["git", "init"])
80
81 return tmp_path
82
83
84@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected