MCPcopy Create free account
hub / github.com/libgit2/pygit2 / testrepo

Function testrepo

test/conftest.py:78–80  ·  view source on GitHub ↗
(tmp_path: Path)

Source from the content-addressed store, hash-verified

76
77@pytest.fixture
78def testrepo(tmp_path: Path) -> Generator[Repository, None, None]:
79 with utils.TemporaryRepository('testrepo.zip', tmp_path) as path:
80 yield pygit2.Repository(path)
81
82
83@pytest.fixture

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…