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

Function test_repository_init

test/test_repository.py:716–721  ·  view source on GitHub ↗
(barerepo_path: tuple[Repository, Path])

Source from the content-addressed store, hash-verified

714
715
716def test_repository_init(barerepo_path: tuple[Repository, Path]) -> None:
717 barerepo, path = barerepo_path
718 assert isinstance(path, Path)
719 pygit2.Repository(path)
720 pygit2.Repository(str(path))
721 pygit2.Repository(bytes(path))
722
723
724def test_clone_repository(barerepo: Repository, tmp_path: Path) -> None:

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…