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

Function test_default_sorting

test/test_revwalk.py:109–115  ·  view source on GitHub ↗
(testrepo: Repository)

Source from the content-addressed store, hash-verified

107
108
109def test_default_sorting(testrepo: Repository) -> None:
110 walker = testrepo.walk(log[0], SortMode.NONE)
111 list1 = list([x.id for x in walker])
112 walker = testrepo.walk(log[0])
113 list2 = list([x.id for x in walker])
114
115 assert list1 == list2

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…