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

Function test_describe_long_format

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

Source from the content-addressed store, hash-verified

100
101
102def test_describe_long_format(testrepo: Repository) -> None:
103 add_tag(testrepo, 'thetag', '2be5719152d4f82c7302b1c0932d8e5f0a4a0e98')
104 assert 'thetag-0-g2be5719' == testrepo.describe(always_use_long_format=True)
105
106
107def test_describe_dirty(dirtyrepo: 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…