MCPcopy
hub / github.com/opentrace/opentrace / _make_repo

Function _make_repo

agent/tests/opentrace_agent/cli/test_auth.py:60–63  ·  view source on GitHub ↗

Create a fake git repo root so directory walk stays bounded.

(base: Path)

Source from the content-addressed store, hash-verified

58
59
60def _make_repo(base: Path) -> Path:
61 """Create a fake git repo root so directory walk stays bounded."""
62 (base / ".git").mkdir(exist_ok=True)
63 return base
64
65
66def _fake_urlopen_response(data: dict) -> MagicMock:

Calls

no outgoing calls

Tested by

no test coverage detected