MCPcopy Create free account
hub / github.com/DevCloudNinjas/DevOps-Projects / git_repo

Function git_repo

tools/tests/test_quality_gate.py:15–19  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

13
14@pytest.fixture()
15def git_repo(tmp_path: Path) -> Path:
16 _run(["git", "init"], tmp_path)
17 _run(["git", "config", "user.email", "test@example.com"], tmp_path)
18 _run(["git", "config", "user.name", "Test User"], tmp_path)
19 return tmp_path
20
21
22def _commit_all(repo: Path) -> None:

Callers

nothing calls this directly

Calls 1

_runFunction · 0.70

Tested by

no test coverage detected