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

Function test_describe_pattern

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

Source from the content-addressed store, hash-verified

68
69
70def test_describe_pattern(testrepo: Repository) -> None:
71 add_tag(testrepo, 'private/tag1', '5ebeeebb320790caf276b9fc8b24546d63316533')
72 add_tag(testrepo, 'public/tag2', '4ec4389a8068641da2d6578db0419484972284c8')
73
74 assert 'public/tag2-2-g2be5719' == testrepo.describe(pattern='public/*')
75
76
77def test_describe_committish(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…