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

Function chdir

tests/conftest.py:69–73  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

67
68@pytest.fixture
69def chdir(tmp_path: Path) -> Iterator[Path]:
70 cwd = os.getcwd()
71 os.chdir(tmp_path)
72 yield tmp_path
73 os.chdir(cwd)
74
75
76@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected