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

Function test_describe

test/test_describe.py:43–45  ·  view source on GitHub ↗
(testrepo: Repository)

Source from the content-addressed store, hash-verified

41
42
43def test_describe(testrepo: Repository) -> None:
44 add_tag(testrepo, 'thetag', '4ec4389a8068641da2d6578db0419484972284c8')
45 assert 'thetag-2-g2be5719' == testrepo.describe()
46
47
48def test_describe_without_ref(testrepo: Repository) -> None:

Callers

nothing calls this directly

Calls 2

add_tagFunction · 0.85
describeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…