MCPcopy Create free account
hub / github.com/copier-org/copier / config_path

Function config_path

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

Source from the content-addressed store, hash-verified

108
109@pytest.fixture
110def config_path(tmp_path: Path, monkeypatch: pytest.MonkeyPatch) -> Iterator[Path]:
111 config_path = tmp_path / "config"
112 monkeypatch.delenv("COPIER_SETTINGS_PATH", raising=False)
113 with patch("copier._settings.user_config_path", return_value=config_path):
114 yield config_path
115
116
117@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected