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

Function test_lookup_submodule

test/test_submodule.py:53–57  ·  view source on GitHub ↗
(repo: Repository)

Source from the content-addressed store, hash-verified

51
52
53def test_lookup_submodule(repo: Repository) -> None:
54 s: Submodule | None = repo.submodules[SUBM_PATH]
55 assert s is not None
56 s = repo.submodules.get(SUBM_PATH)
57 assert s is not None
58
59
60def test_lookup_submodule_aspath(repo: Repository) -> None:

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…