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

Function test_submodule_iterator

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

Source from the content-addressed store, hash-verified

80
81
82def test_submodule_iterator(repo: Repository) -> None:
83 for s in repo.submodules:
84 assert isinstance(s, pygit2.Submodule)
85 assert s.path == repo.submodules[s.path].path
86
87
88@utils.requires_network

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…